6.6.4.2.3 -Wbad-function-cast

Warn whenever a function call is cast to a non-matching type. For example, warn if int foof() is cast to anything *.