summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2020-08-18 03:37:26 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2020-08-18 03:37:26 (GMT)
commit5352b1dbc92313d91d3502dd8352352abe8749a7 (patch)
tree2173284ec08cc39111b13df849d2443d484b0715
parent5bb893a2c2bcba6e8bebc99ee1a506599111b716 (diff)
downloadhdf5-5352b1dbc92313d91d3502dd8352352abe8749a7.zip
hdf5-5352b1dbc92313d91d3502dd8352352abe8749a7.tar.gz
hdf5-5352b1dbc92313d91d3502dd8352352abe8749a7.tar.bz2
Fixed typo
-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 5feadd3..97f6567 100644
--- a/examples/h5_cmprss.c
+++ b/examples/h5_cmprss.c
@@ -98,7 +98,7 @@ int main () {
for (i=0; i<numfilt; i++) {
nelmts = 0;
- filter_type = H5Pget_filter2 (plist_id, 0, &flags, &nelmts, NULL, 0, NULL,
+ filter_type = H5Pget_filter2 (plist_id, i, &flags, &nelmts, NULL, 0, NULL,
&filter_info);
printf ("Filter Type: ");
switch (filter_type) {