summaryrefslogtreecommitdiffstats
path: root/hl/fortran/src/H5TBfc.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-12-08 18:34:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-12-08 18:34:51 (GMT)
commit88c15b1617872ce1672d7333481a5aa32ee23d5a (patch)
treeb3315150ab77826194626d3cd5cf6481badf83e4 /hl/fortran/src/H5TBfc.c
parentbfa65eed0f4f901c14244728ea364966c51e0417 (diff)
downloadhdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.zip
hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.gz
hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.bz2
[svn-r11771] Purpose:
Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'hl/fortran/src/H5TBfc.c')
-rwxr-xr-xhl/fortran/src/H5TBfc.c4
1 files changed, 2 insertions, 2 deletions
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]));