summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2011-10-29 19:18:04 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2011-10-29 19:18:04 (GMT)
commit3e8b387af23a8a6e20f83128a742def3b1f08e88 (patch)
treeb03cd6b920e5b73f0cd30ea96397c2d7f58b2ffe /fortran
parentb8a057585e3db504e9ddfe99cb93e8c08849359a (diff)
downloadhdf5-3e8b387af23a8a6e20f83128a742def3b1f08e88.zip
hdf5-3e8b387af23a8a6e20f83128a742def3b1f08e88.tar.gz
hdf5-3e8b387af23a8a6e20f83128a742def3b1f08e88.tar.bz2
[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)
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/H5Ef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Ef.c b/fortran/src/H5Ef.c
index c0d7a77..8671b18 100644
--- a/fortran/src/H5Ef.c
+++ b/fortran/src/H5Ef.c
@@ -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)