summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-27 18:33:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-27 18:33:36 (GMT)
commite4ee157c86ea837ba8297c50cefdc296e8401094 (patch)
tree834205bf56ec642aab0f022382fab69bb7c64c46 /src/H5F.c
parent53d5ccb17e75f4ce182f3d98f2b60891de07e716 (diff)
downloadhdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.zip
hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.gz
hdf5-e4ee157c86ea837ba8297c50cefdc296e8401094.tar.bz2
[svn-r18635] Description:
Bring r18634 from trunk to 1.8 branch: Clean up compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 86b4fc4..724e4f9 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -1846,9 +1846,9 @@ H5F_try_close(H5F_t *f)
/* Forced close of all opened objects in this file */
if(f->nopen_objs > 0) {
- unsigned obj_count; /* # of open objects */
+ size_t obj_count; /* # of open objects */
hid_t objs[128]; /* Array of objects to close */
- unsigned u; /* Local index variable */
+ size_t u; /* Local index variable */
/* Get the list of IDs of open dataset, group, & attribute objects */
while((obj_count = H5F_get_obj_ids(f, H5F_OBJ_LOCAL|H5F_OBJ_DATASET|H5F_OBJ_GROUP|H5F_OBJ_ATTR, (int)(sizeof(objs)/sizeof(objs[0])), objs, FALSE)) != 0) {