summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-09 19:16:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-09 19:16:17 (GMT)
commit06f27f99b04f332565b55ec601a4aacc28858c37 (patch)
treeb8c38950bc8fcf96ab1c4a82c95861f331f1670b /tools/h5ls/h5ls.c
parent221c1ef220b49d46fa05ff267f11445f6d1a8b44 (diff)
downloadhdf5-06f27f99b04f332565b55ec601a4aacc28858c37.zip
hdf5-06f27f99b04f332565b55ec601a4aacc28858c37.tar.gz
hdf5-06f27f99b04f332565b55ec601a4aacc28858c37.tar.bz2
[svn-r7192] Purpose:
Code cleanup Description: Clean up various minor warnings in the library. Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r--tools/h5ls/h5ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index d604c93..1d3064a 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1755,7 +1755,7 @@ list (hid_t group, const char *name, void *_iter)
return 0;
} else if (sb.type<0 || sb.type>=H5G_NTYPES) {
printf("Unknown type(%d)", sb.type);
- sb.type = -1;
+ sb.type = H5G_UNKNOWN;
}
if (sb.type>=0 && dispatch_g[sb.type].name) {
fputs(dispatch_g[sb.type].name, stdout);