summaryrefslogtreecommitdiffstats
path: root/examples/h5_cmprss.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-08 14:23:47 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-08 14:23:47 (GMT)
commit0e830ba4360a154d4b72a65298aae0f4cf888504 (patch)
treea914d23cea0a0e9bd81daf1b73b037441a5f08c3 /examples/h5_cmprss.c
parent75567cbe8f6ec97df3db5b73f0c94625f63a4d0b (diff)
downloadhdf5-0e830ba4360a154d4b72a65298aae0f4cf888504.zip
hdf5-0e830ba4360a154d4b72a65298aae0f4cf888504.tar.gz
hdf5-0e830ba4360a154d4b72a65298aae0f4cf888504.tar.bz2
Merge from develop and 1.12
Comments and whitespace No cache, select or file-locking changes
Diffstat (limited to 'examples/h5_cmprss.c')
-rw-r--r--examples/h5_cmprss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_cmprss.c b/examples/h5_cmprss.c
index 7557cf5..bb77e28 100644
--- a/examples/h5_cmprss.c
+++ b/examples/h5_cmprss.c
@@ -99,7 +99,7 @@ main()
for (i = 0; i < numfilt; i++) {
nelmts = 0;
- filter_type = H5Pget_filter2(plist_id, 0, &flags, &nelmts, NULL, 0, NULL, &filter_info);
+ filter_type = H5Pget_filter2(plist_id, i, &flags, &nelmts, NULL, 0, NULL, &filter_info);
printf("Filter Type: ");
switch (filter_type) {
case H5Z_FILTER_DEFLATE: