C
crook
I have code below and it works properly but when I'm compiling it with
"--pedantic" flag, GCC(3.4.2) shows such warning: "ISO C forbids
casting nonscalar to the same type". How can I change this code to get
rid of this warning?
/*parameters is void* type*/
struct params p = ( struct params )*( ( struct params * )parameters );
"--pedantic" flag, GCC(3.4.2) shows such warning: "ISO C forbids
casting nonscalar to the same type". How can I change this code to get
rid of this warning?
/*parameters is void* type*/
struct params p = ( struct params )*( ( struct params * )parameters );