[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:
Scot Breitenfeld 2011-10-29 14:18:04 -05:00
parent b8a057585e
commit 3e8b387af2

View File

@ -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)