summaryrefslogtreecommitdiffstats
path: root/src/H5Pocpl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-04-04 21:05:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-04-04 21:05:34 (GMT)
commit55345aaf4d91ef4ac3378b54d4e4fb80810713ac (patch)
tree97975843879ca4acd1974174911bf78ebe909e86 /src/H5Pocpl.c
parent5f43e5f837cb195cab62479263c29903c63bdb1e (diff)
downloadhdf5-55345aaf4d91ef4ac3378b54d4e4fb80810713ac.zip
hdf5-55345aaf4d91ef4ac3378b54d4e4fb80810713ac.tar.gz
hdf5-55345aaf4d91ef4ac3378b54d4e4fb80810713ac.tar.bz2
[svn-r23550] Description:
Bring r23549 from trunk to desy_1_8 branch: More misc. cleanups, but main change is to make an "extern" header file for the plugin interface. Tested on: Mac OSX/64 10.8.3 (amazon)
Diffstat (limited to 'src/H5Pocpl.c')
-rw-r--r--src/H5Pocpl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Pocpl.c b/src/H5Pocpl.c
index 3f14ce1..2199b9c 100644
--- a/src/H5Pocpl.c
+++ b/src/H5Pocpl.c
@@ -731,7 +731,6 @@ H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags,
size_t cd_nelmts, const unsigned int cd_values[/*cd_nelmts*/])
{
H5P_genplist_t *plist; /* Property list */
- H5O_pline_t pline; /* Filter pipeline */
herr_t ret_value=SUCCEED; /* return value */
FUNC_ENTER_API(FAIL)
@@ -809,9 +808,9 @@ H5P__set_filter(H5P_genplist_t *plist, H5Z_filter_t filter, unsigned int flags,
/* If filter is not available, try to dynamically load it */
if(!filter_avail) {
- H5Z_class2_t *filter_info;
+ const H5Z_class2_t *filter_info;
- if(NULL == (filter_info = (H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)filter)))
+ if(NULL == (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)filter)))
HGOTO_ERROR(H5E_PLINE, H5E_CANTLOAD, FAIL, "failed to load dynamically loaded plugin")
if(H5Z_register(filter_info) < 0)
HGOTO_ERROR(H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register filter")