diff options
author | Sean McBride <sean@rogue-research.com> | 2021-03-08 14:26:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 14:26:58 (GMT) |
commit | 5f376ccb3e8d242329a431b89bb4103500b1ad38 (patch) | |
tree | 72a8d27d98197a153e96822a9020a663f559a43a /test/filter_plugin3_dsets.c | |
parent | 150fb83345bbf9ff6659231ba3f5bcdd536fb35c (diff) | |
download | hdf5-5f376ccb3e8d242329a431b89bb4103500b1ad38.zip hdf5-5f376ccb3e8d242329a431b89bb4103500b1ad38.tar.gz hdf5-5f376ccb3e8d242329a431b89bb4103500b1ad38.tar.bz2 |
Removed bad function pointer casts (#434)
* Removed bad function pointer casts
In one case fixed the actual function signature to be correct.
* Reformat source with clang v10.0.1.
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'test/filter_plugin3_dsets.c')
-rw-r--r-- | test/filter_plugin3_dsets.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/filter_plugin3_dsets.c b/test/filter_plugin3_dsets.c index 5d8d57f..618ce06 100644 --- a/test/filter_plugin3_dsets.c +++ b/test/filter_plugin3_dsets.c @@ -30,14 +30,14 @@ static size_t add_sub_value_hdf5(unsigned int flags, size_t cd_nelmts, const uns /* Filter class struct */ const H5Z_class2_t FILTER_INFO[1] = {{ - H5Z_CLASS_T_VERS, /* H5Z_class_t version */ - FILTER3_ID, /* Filter ID number */ - 1, /* Encoding enabled */ - 1, /* Decoding enabled */ - "test filter plugin 3", /* Filter name for debugging */ - NULL, /* The "can apply" callback */ - NULL, /* The "set local" callback */ - (H5Z_func_t)add_sub_value_hdf5, /* The actual filter function */ + H5Z_CLASS_T_VERS, /* H5Z_class_t version */ + FILTER3_ID, /* Filter ID number */ + 1, /* Encoding enabled */ + 1, /* Decoding enabled */ + "test filter plugin 3", /* Filter name for debugging */ + NULL, /* The "can apply" callback */ + NULL, /* The "set local" callback */ + add_sub_value_hdf5, /* The actual filter function */ }}; H5PL_type_t |