summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_filters.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 02:55:33 (GMT)
commit238950487f6348544b64fda3143479c6ab589fde (patch)
treee2985b88137935511547333d9a9c2c25d74c57e5 /tools/h5repack/h5repack_filters.c
parent7c22743e8eaa5e5d2ffc8b0db7518ed6c5be40ee (diff)
downloadhdf5-238950487f6348544b64fda3143479c6ab589fde.zip
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.gz
hdf5-238950487f6348544b64fda3143479c6ab589fde.tar.bz2
[svn-r17270] Description:
Bring r17265:17269 from trunk to revise_chunks branch Tested on FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r--tools/h5repack/h5repack_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c
index 6b08a2f..92b263b 100644
--- a/tools/h5repack/h5repack_filters.c
+++ b/tools/h5repack/h5repack_filters.c
@@ -419,7 +419,7 @@ int apply_filters(const char* name, /* object name from traverse list */
H5Z_SO_scale_type_t scale_type;
int scale_factor;
- scale_type = obj.filter[i].cd_values[0];
+ scale_type = (H5Z_SO_scale_type_t)obj.filter[i].cd_values[0];
scale_factor = obj.filter[i].cd_values[1];
if(H5Pset_chunk(dcpl_id, obj.chunk.rank, obj.chunk.chunk_lengths)<0)