summaryrefslogtreecommitdiffstats
path: root/test/filter_plugin4_groups.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_plugin4_groups.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_plugin4_groups.c')
-rw-r--r--test/filter_plugin4_groups.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/filter_plugin4_groups.c b/test/filter_plugin4_groups.c
index c948491..630dcd6 100644
--- a/test/filter_plugin4_groups.c
+++ b/test/filter_plugin4_groups.c
@@ -29,14 +29,14 @@ static size_t append_to_group_name(unsigned int flags, size_t cd_nelmts, const u
/* Filter class struct */
const H5Z_class2_t FILTER_INFO[1] = {{
- H5Z_CLASS_T_VERS, /* H5Z_class_t version */
- FILTER4_ID, /* Filter ID number */
- 1, /* Encoding enabled */
- 1, /* Decoding enabled */
- "test filter plugin 4", /* Filter name for debugging */
- NULL, /* The "can apply" callback */
- NULL, /* The "set local" callback */
- (H5Z_func_t)append_to_group_name, /* The actual filter function */
+ H5Z_CLASS_T_VERS, /* H5Z_class_t version */
+ FILTER4_ID, /* Filter ID number */
+ 1, /* Encoding enabled */
+ 1, /* Decoding enabled */
+ "test filter plugin 4", /* Filter name for debugging */
+ NULL, /* The "can apply" callback */
+ NULL, /* The "set local" callback */
+ append_to_group_name, /* The actual filter function */
}};
H5PL_type_t