summaryrefslogtreecommitdiffstats
path: root/src/H5Zszip.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-30 19:47:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-30 19:47:40 (GMT)
commit70db25c5614b515edac40bff118fb6462e6e0415 (patch)
treec549824cd0f9471b11514818d0280dfb2a08fc63 /src/H5Zszip.c
parent82a89d2c18953ca826f3fa805f01f81255839531 (diff)
downloadhdf5-70db25c5614b515edac40bff118fb6462e6e0415.zip
hdf5-70db25c5614b515edac40bff118fb6462e6e0415.tar.gz
hdf5-70db25c5614b515edac40bff118fb6462e6e0415.tar.bz2
[svn-r7126] Purpose:
Code cleanup Description: Add in rest of szip "options mask" macros that were missing. Also made "raw" options mask set by the library, instead of requiring users to always set it. Platforms tested: FreeBSD 4.8 (sleipnir) Minor tweaks too small fo h5committest
Diffstat (limited to 'src/H5Zszip.c')
-rw-r--r--src/H5Zszip.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5Zszip.c b/src/H5Zszip.c
index aa83469..bf3bcda 100644
--- a/src/H5Zszip.c
+++ b/src/H5Zszip.c
@@ -250,8 +250,13 @@ H5Z_filter_szip (unsigned flags, size_t cd_nelmts, const unsigned cd_values[],
/* Sanity check to make certain that we haven't drifted out of date with
* the mask options from the szlib.h header */
- assert(H5_SZIP_RAW_OPTION_MASK==SZ_RAW_OPTION_MASK);
+ assert(H5_SZIP_ALLOW_K13_OPTION_MASK==SZ_ALLOW_K13_OPTION_MASK);
+ assert(H5_SZIP_CHIP_OPTION_MASK==SZ_CHIP_OPTION_MASK);
+ assert(H5_SZIP_EC_OPTION_MASK==SZ_EC_OPTION_MASK);
+ assert(H5_SZIP_LSB_OPTION_MASK==SZ_LSB_OPTION_MASK);
+ assert(H5_SZIP_MSB_OPTION_MASK==SZ_MSB_OPTION_MASK);
assert(H5_SZIP_NN_OPTION_MASK==SZ_NN_OPTION_MASK);
+ assert(H5_SZIP_RAW_OPTION_MASK==SZ_RAW_OPTION_MASK);
/* Check arguments */
if (cd_nelmts!=4)