Rule M5-2-6 (required, implementation, automated)

A cast shall not convert a pointer to a function to any other pointer type, including a pointer to function type. See MISRA C++ 2008 [7]