summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:56:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-23 17:56:57 (GMT)
commit6fc0bffac6e099b32c2e195207625e66e5b40c05 (patch)
tree792d54e2b6cd48c48db4758f5ac2f64564e4e014 /src/H5I.c
parent7c3df64cc4742c0316ca81aeef67bd95a5737c70 (diff)
downloadhdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.zip
hdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.tar.gz
hdf5-6fc0bffac6e099b32c2e195207625e66e5b40c05.tar.bz2
[svn-r8732] Purpose:
Code cleanup Description: Reduce compiler warnings on SGI IRIX Platforms tested: FreeBSD 4.10 (sleipnir) SGI IRIX6 (Cheryl's machine) Too minor to require full h5committest
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 55d0898..e538f52 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -235,7 +235,7 @@ H5I_type_t H5Iregister_type(size_t hash_size, unsigned reserved, H5I_free_t free
FUNC_ENTER_API(H5Iregister_type, H5I_BADID);
/* Call H5I_register_type with a value of 0 to get a new type */
- ret_value = H5I_register_type(0, hash_size, reserved, free_func);
+ ret_value = H5I_register_type((H5I_type_t)0, hash_size, reserved, free_func);
done:
FUNC_LEAVE_API(ret_value);
@@ -312,7 +312,7 @@ H5I_type_t H5I_register_type(H5I_type_t type_id, size_t hash_size, unsigned rese
if(H5I_id_type_list_g[i] == NULL)
{
/* Found a free type ID */
- ret_value = i;
+ ret_value = (H5I_type_t)i;
done = 1;
}
}