Analysis of information sources in references of the Wikipedia article "Type safety" in English language version.
In C, the proper method is to declare that malloc returns a pointer to void, then explicitly coerce the pointer into the desired type with a cast.