summaryrefslogtreecommitdiffstats
path: root/src/H5Tcompound.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-27 17:07:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-27 17:07:41 (GMT)
commit0db364390b48d705b2c3fb225651ba35a19a5b4d (patch)
treeade21aceff44ffe978ca278d2ffbd23209584e08 /src/H5Tcompound.c
parentc274ffe1c9bdfa256459213cab1ece7f566b9620 (diff)
downloadhdf5-0db364390b48d705b2c3fb225651ba35a19a5b4d.zip
hdf5-0db364390b48d705b2c3fb225651ba35a19a5b4d.tar.gz
hdf5-0db364390b48d705b2c3fb225651ba35a19a5b4d.tar.bz2
[svn-r9469] Purpose:
Code cleanup Description: Clear up some inconsistencies, inefficiencies and possible errors between the release and development branch. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Linux 2.4 (heping) w/C++ & FORTRAN
Diffstat (limited to 'src/H5Tcompound.c')
-rw-r--r--src/H5Tcompound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcompound.c b/src/H5Tcompound.c
index f29342f..48feb6c 100644
--- a/src/H5Tcompound.c
+++ b/src/H5Tcompound.c
@@ -316,14 +316,14 @@ done:
*-------------------------------------------------------------------------
*/
size_t
-H5T_get_member_size(H5T_t *dt, int membno)
+H5T_get_member_size(H5T_t *dt, unsigned membno)
{
size_t ret_value = 0;
FUNC_ENTER_NOAPI(H5T_get_member_size, 0);
assert(dt);
- assert(membno >=0 && membno < dt->shared->u.compnd.nmembs);
+ assert(membno < dt->shared->u.compnd.nmembs);
/* Value */
ret_value = dt->shared->u.compnd.memb[membno].type->shared->size;