summaryrefslogtreecommitdiffstats
path: root/src/H5Z.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Z.c')
-rw-r--r--src/H5Z.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index 8095dce..9f8b59d 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -1126,10 +1126,10 @@ H5Z_pipeline(const H5O_pline_t *pline, unsigned flags,
if(H5PL_no_plugin())
issue_error = TRUE;
else {
- H5Z_class2_t *filter_info;
+ const H5Z_class2_t *filter_info;
/* Try loading the filter */
- if(NULL != (filter_info = (H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)(pline->filter[idx].id)))) {
+ if(NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)(pline->filter[idx].id)))) {
/* Register the filter we loaded */
if(H5Z_register(filter_info) < 0)
HGOTO_ERROR(H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register filter")