Make ParamValidationExt use the actual type instead of a void pointer
Merge pull request #449 from mstorsjo/avoid-opaque-pointer

Make ParamValidationExt use the actual type instead of a void pointer