diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5ls/h5ls.c | 2 |
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); |