Skip to content

Commit

Permalink
nested_struct12: Remove unnecessary (void*) conversions
Browse files Browse the repository at this point in the history
Signed-off-by: Li kunyu <[email protected]>
  • Loading branch information
likunyur committed Nov 17, 2022
1 parent 04ca948 commit c8b0380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libffi/testsuite/libffi.closures/nested_struct12.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main (void)
ffi_type struct_float_type1, struct_float_type2;
ffi_type *retType = &ffi_type_float;
float arg1;
float *arg2 = (float *)malloc(sizeof(stru_Nested_F));
float *arg2 = malloc(sizeof(stru_Nested_F));

struct_float2[0] = &ffi_type_float;
struct_float2[1] = &ffi_type_float;
Expand Down

0 comments on commit c8b0380

Please sign in to comment.