Use the proper type in function parameters instead of void pointers
Merge pull request #786 from mstorsjo/use-proper-types

Use the proper type in function parameters instead of void pointers