summaryrefslogtreecommitdiffstats
path: root/fortran/test/t.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-13 19:21:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-13 19:21:41 (GMT)
commit9bc89569d6990a1ebbe8fa595a23d5df59575c7f (patch)
tree68f37a5fbec8709187c2b4fe9521d0ce8434388b /fortran/test/t.c
parented23cda102d6c9312d863d4a2b5b2b0ec12f7224 (diff)
downloadhdf5-9bc89569d6990a1ebbe8fa595a23d5df59575c7f.zip
hdf5-9bc89569d6990a1ebbe8fa595a23d5df59575c7f.tar.gz
hdf5-9bc89569d6990a1ebbe8fa595a23d5df59575c7f.tar.bz2
[svn-r7611] Purpose:
Code cleanup Description: Cleaned up various compiler warnings Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) w/FORTRAN too minor for h5committest
Diffstat (limited to 'fortran/test/t.c')
-rw-r--r--fortran/test/t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/test/t.c b/fortran/test/t.c
index 4f19ea4..3109523 100644
--- a/fortran/test/t.c
+++ b/fortran/test/t.c
@@ -46,13 +46,13 @@ nh5_fixname_c(_fcd base_name, int_f *base_namelen, hid_t_f* fapl, _fcd full_name
c_base_namelen = *base_namelen;
c_base_name = (char *)HD5f2cstring(base_name, c_base_namelen);
if (c_base_name == NULL) goto DONE;
- c_full_name = (char *) HDmalloc(*full_namelen + 1);
+ c_full_name = (char *) HDmalloc((size_t)*full_namelen + 1);
if (c_full_name == NULL) goto DONE;
/*
* Call h5_fixname function.
*/
- if (NULL != h5_fixname(c_base_name, c_fapl, c_full_name, *full_namelen + 1)) {
+ if (NULL != h5_fixname(c_base_name, c_fapl, c_full_name, (size_t)*full_namelen + 1)) {
HD5packFstring(c_full_name, _fcdtocp(full_name), *full_namelen);
ret_value = 0;
goto DONE;