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>
This commit is contained in:
@@ -25,13 +25,13 @@ static size_t H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts, const un
|
||||
|
||||
/* This message derives from H5Z */
|
||||
const H5Z_class2_t H5Z_DYNLIBUD[1] = {{
|
||||
H5Z_CLASS_T_VERS, /* H5Z_class_t version */
|
||||
H5Z_FILTER_DYNLIBUD, /* Filter id number */
|
||||
1, 1, /* Encoding and decoding enabled */
|
||||
"dynlibud", /* Filter name for debugging */
|
||||
NULL, /* The "can apply" callback */
|
||||
NULL, /* The "set local" callback */
|
||||
(H5Z_func_t)H5Z_filter_dynlibud, /* The actual filter function */
|
||||
H5Z_CLASS_T_VERS, /* H5Z_class_t version */
|
||||
H5Z_FILTER_DYNLIBUD, /* Filter id number */
|
||||
1, 1, /* Encoding and decoding enabled */
|
||||
"dynlibud", /* Filter name for debugging */
|
||||
NULL, /* The "can apply" callback */
|
||||
NULL, /* The "set local" callback */
|
||||
H5Z_filter_dynlibud, /* The actual filter function */
|
||||
}};
|
||||
|
||||
H5PL_type_t
|
||||
|
||||
Reference in New Issue
Block a user