summaryrefslogtreecommitdiffstats
path: root/test/filter_plugin2_dsets.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-03-08 14:26:58 (GMT)
committerGitHub <noreply@github.com>2021-03-08 14:26:58 (GMT)
commit5f376ccb3e8d242329a431b89bb4103500b1ad38 (patch)
tree72a8d27d98197a153e96822a9020a663f559a43a /test/filter_plugin2_dsets.c
parent150fb83345bbf9ff6659231ba3f5bcdd536fb35c (diff)
downloadhdf5-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_plugin2_dsets.c')
-rw-r--r--test/filter_plugin2_dsets.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/filter_plugin2_dsets.c b/test/filter_plugin2_dsets.c
index 4a881aa..d2011d4 100644
--- a/test/filter_plugin2_dsets.c
+++ b/test/filter_plugin2_dsets.c
@@ -27,14 +27,14 @@ static size_t mult_div_value(unsigned int flags, size_t cd_nelmts, const unsigne
/* Filter class struct */
const H5Z_class2_t FILTER_INFO[1] = {{
- H5Z_CLASS_T_VERS, /* H5Z_class_t version */
- FILTER2_ID, /* Filter ID number */
- 1, /* Encoding enabled */
- 1, /* Decoding enabled */
- "test filter plugin 2", /* Filter name for debugging */
- NULL, /* The "can apply" callback */
- NULL, /* The "set local" callback */
- (H5Z_func_t)mult_div_value, /* The actual filter function */
+ H5Z_CLASS_T_VERS, /* H5Z_class_t version */
+ FILTER2_ID, /* Filter ID number */
+ 1, /* Encoding enabled */
+ 1, /* Decoding enabled */
+ "test filter plugin 2", /* Filter name for debugging */
+ NULL, /* The "can apply" callback */
+ NULL, /* The "set local" callback */
+ mult_div_value, /* The actual filter function */
}};
H5PL_type_t