diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-23 17:56:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-23 17:56:57 (GMT) |
commit | 6fc0bffac6e099b32c2e195207625e66e5b40c05 (patch) | |
tree | 792d54e2b6cd48c48db4758f5ac2f64564e4e014 /src/H5I.c | |
parent | 7c3df64cc4742c0316ca81aeef67bd95a5737c70 (diff) | |
download | hdf5-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |