diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-14 20:09:44 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-14 20:09:44 (GMT) |
commit | 7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b (patch) | |
tree | b9c0c5b3ecee990ccb0c6e5f69c7c0f2f4567304 /tools/h5repack/h5repack_filters.c | |
parent | 62a9b30a6465db12dd9ee552045cca9d95a40bc3 (diff) | |
download | hdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.zip hdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.tar.gz hdf5-7f7fbb47183b6d6a95da4071acb2f8fff1e51c0b.tar.bz2 |
[svn-r8062] Purpose:
bug fix
Description:
cases of rank 0 were not handled, now a warning is made that the dataset cannot be compressed
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r-- | tools/h5repack/h5repack_filters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c index e3edb8a..8fb45f9 100644 --- a/tools/h5repack/h5repack_filters.c +++ b/tools/h5repack/h5repack_filters.c @@ -128,7 +128,7 @@ int print_filters(hid_t dcpl_id) { cd_nelmts = NELMTS(cd_values); filtn = H5Pget_filter(dcpl_id, - i, + (unsigned)i, &filt_flags, &cd_nelmts, cd_values, @@ -190,7 +190,7 @@ int apply_filters(hid_t dcpl_id, { cd_nelmts = NELMTS(cd_values); filtn = H5Pget_filter(dcpl_id, - i, + (unsigned)i, &filt_flags, &cd_nelmts, cd_values, |