diff options
Diffstat (limited to 'tools/misc')
-rw-r--r-- | tools/misc/h5stat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/misc/h5stat.c b/tools/misc/h5stat.c index 15ab968..7d4045e 100644 --- a/tools/misc/h5stat.c +++ b/tools/misc/h5stat.c @@ -587,7 +587,11 @@ dataset_stats (hid_t group, const char *name, H5G_stat_t * _sb, iter_t *_iter) if (nfltr == 0) iter->dset_comptype[0]++; for (u=0; u < (unsigned) nfltr; u++) { +#ifdef H5_WANT_H5_V1_6_COMPAT + fltr = H5Pget_filter(dcpl, u, 0, 0, 0, 0, 0); +#else /* H5_WANT_H5_V1_6_COMPAT */ fltr = H5Pget_filter(dcpl, u, 0, 0, 0, 0, 0, NULL); +#endif /* H5_WANT_H5_V1_6_COMPAT */ if (fltr < (H5_NFILTERS_IMPL-1)) iter->dset_comptype[fltr]++; else |