MISRA Discussion Forums
This cast is not defined for pointers - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forum-4.html)
+--- Forum: General Questions (https://forum.misra.org.uk/forum-27.html)
+--- Thread: This cast is not defined for pointers (/thread-283.html)



This cast is not defined for pointers - warawut - 04-07-2006

mda5tbl[] = { (u8)5,
(u8)9,
(void*)wsrid00 --> Warning No. 307 };

static void wsrid00(void)
{
u16 i;
wmsgo[4] = 0;
for(i=0; i