Don't cast functions of incompatible types.

This undefined behavior.