diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:09 (GMT) |
commit | 0a29514b9dd967deb64b53b39e12d6b55177b76c (patch) | |
tree | a0a2fce3c7a13fcdf1deed6c022a47bfb5a2cbf1 /fortran/src/H5Tf.c | |
parent | 432f394cbbc6f77861501f91dc2fc5c209f3811f (diff) | |
download | hdf5-0a29514b9dd967deb64b53b39e12d6b55177b76c.zip hdf5-0a29514b9dd967deb64b53b39e12d6b55177b76c.tar.gz hdf5-0a29514b9dd967deb64b53b39e12d6b55177b76c.tar.bz2 |
[svn-r8383] Purpose:
Code cleanup
Description:
Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.
Platforms tested:
SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
FreeBSD 4.9 (sleipnir) w/ & w/o parallel
h5committest
Diffstat (limited to 'fortran/src/H5Tf.c')
-rw-r--r-- | fortran/src/H5Tf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/H5Tf.c b/fortran/src/H5Tf.c index 3beadcd..cc4b279 100644 --- a/fortran/src/H5Tf.c +++ b/fortran/src/H5Tf.c @@ -726,7 +726,7 @@ nh5tget_norm_c ( hid_t_f *type_id , int_f *norm) c_norm = H5Tget_norm(c_type_id); if ( c_norm == 0 ) return ret_value; - *norm = (size_t_f)c_norm; + *norm = (int_f)c_norm; ret_value = 0; return ret_value; } @@ -1578,7 +1578,7 @@ nh5tget_tag_c(hid_t_f* type_id, _fcd tag, int_f* taglen) if (c_tag == NULL ) return ret_value; HD5packFstring(c_tag, _fcdtocp(tag), (int)strlen(c_tag)); - *taglen = strlen(c_tag); + *taglen = (int_f)HDstrlen(c_tag); HDfree(c_tag); ret_value = 0; return ret_value; |