diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-05-26 21:29:52 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-05-26 21:29:52 (GMT) |
commit | 343b53d64f4e8ecd2fbab5c356099918e55d8238 (patch) | |
tree | a2f28f5ae74c08ad37aee92bf2f1762393444d3c /test/plugin.c | |
parent | 479f326a267ca5ffacc2012f33674c66cf2907d8 (diff) | |
parent | 9e75f7eeee5d52d35a8dcbffb6c1c18e1966d12b (diff) | |
download | hdf5-343b53d64f4e8ecd2fbab5c356099918e55d8238.zip hdf5-343b53d64f4e8ecd2fbab5c356099918e55d8238.tar.gz hdf5-343b53d64f4e8ecd2fbab5c356099918e55d8238.tar.bz2 |
Merge branch 'develop' into compat_feature_flag
Diffstat (limited to 'test/plugin.c')
-rw-r--r-- | test/plugin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/plugin.c b/test/plugin.c index 8b4324d..1254e9a 100644 --- a/test/plugin.c +++ b/test/plugin.c @@ -574,7 +574,9 @@ test_noread_with_filters(hid_t file) /* disable filter plugin */ if(H5PLget_loading_state(&plugin_state) < 0) TEST_ERROR - plugin_state = plugin_state & ~H5PL_FILTER_PLUGIN; + + plugin_state = plugin_state & (unsigned)(~H5PL_FILTER_PLUGIN); + if(H5PLset_loading_state(plugin_state) < 0) TEST_ERROR if((dset = H5Dopen2(file, DSET_DYNLIB1_NAME, H5P_DEFAULT)) < 0) TEST_ERROR @@ -672,8 +674,8 @@ static herr_t test_groups_with_filters(hid_t file) { herr_t ret_value = -1; - hid_t gid; - hid_t group; + hid_t gid = -1; + hid_t group = -1; int i; char gname[256]; |