summaryrefslogtreecommitdiffstats
path: root/hl/fortran/src
diff options
context:
space:
mode:
Diffstat (limited to 'hl/fortran/src')
-rwxr-xr-xhl/fortran/src/H5IMfc.c1
-rwxr-xr-xhl/fortran/src/H5TBfc.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/hl/fortran/src/H5IMfc.c b/hl/fortran/src/H5IMfc.c
index 822dbe6..b024edc 100755
--- a/hl/fortran/src/H5IMfc.c
+++ b/hl/fortran/src/H5IMfc.c
@@ -15,6 +15,7 @@
/* This files contains C stubs for H5D Fortran APIs */
#include "H5IM.h"
+#include "H5IMcc.h"
#include "H5LTf90proto.h"
#include "../../../fortran/src/H5f90i_gen.h"
diff --git a/hl/fortran/src/H5TBfc.c b/hl/fortran/src/H5TBfc.c
index 56515b1..29cf15b 100755
--- a/hl/fortran/src/H5TBfc.c
+++ b/hl/fortran/src/H5TBfc.c
@@ -674,9 +674,9 @@ nh5tbget_field_info_c(hid_t_f *loc_id,
/* return values*/
/* names array */
- tmp = (char *)malloc(c_lenmax* (hsize_t_f) c_nfields + 1);
+ tmp = (char *)malloc(c_lenmax* (size_t) c_nfields + 1);
tmp_p = tmp;
- memset(tmp,' ', c_lenmax* (hsize_t_f) c_nfields);
+ memset(tmp,' ', c_lenmax* (size_t) c_nfields);
tmp[c_lenmax*c_nfields] = '\0';
for (i=0; i < c_nfields; i++) {
memcpy(tmp_p, c_field_names[i], strlen(c_field_names[i]));