mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r21689] Albert noted for *AIX 5.3:
*Hostname: nsipada0X: "../../../hdf5/fortran/src/H5Ef.c", line 301.40: 1506-280 (E) Function argument assignment between types "int(*)(int,void*)" and "int(*)(int,struct {...}*)" is not allowed. Fixed by casting has H5E_auto2_t. tested: jam (gfortran, intel)
This commit is contained in:
parent
b8a057585e
commit
3e8b387af2
@ -309,7 +309,7 @@ nh5eset_auto2_c(int_f *printflag, hid_t_f *estack_id, H5E_auto2_t func, void *cl
|
||||
herr_t status = -1;
|
||||
|
||||
if (*printflag == 1 && *estack_id == -1)
|
||||
status = H5Eset_auto2(H5E_DEFAULT, H5Eprint2, stderr);
|
||||
status = H5Eset_auto2(H5E_DEFAULT, (H5E_auto2_t)H5Eprint2, stderr);
|
||||
else if (*printflag == 1)
|
||||
status = H5Eset_auto2((hid_t)*estack_id, func, client_data);
|
||||
else if (*printflag == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user