MISRA.CAST.FUNC_PTRCast converts function pointer to other pointer type. MISRA-C Rule 11.1 (required): Conversions shall not be performed between a pointer to a function and any type other than an integral type[Undefined 27, 28] Conversion of a function pointer to a different type of pointer results in undefined behaviour. This means that a function pointer can be converted to or from an integral type. No other conversions involving function pointers are permitted. |