In practice this worked for x64 however it might cause invalid memory access on systems with different argument alignment.
- Remove redundant void, struct. - Use function style casts.
Also see #103343. Pull Request: https://projects.blender.org/blender/blender/pulls/110299