S
Steven Woody
Hi,
i am using gcc. in the following code
void ( * on_data_receive_of_ph ) ( const short line, const uint8_t c );
....
printf( "addr of function = %x\n", (void*)on_data_receive_of_ph )
--- (*)
....
the line of (*) always causes a compiler warning:
warning: unsigned int format, pointer arg (arg 2)
could anyone please help me out? thanks.
-
woody
i am using gcc. in the following code
void ( * on_data_receive_of_ph ) ( const short line, const uint8_t c );
....
printf( "addr of function = %x\n", (void*)on_data_receive_of_ph )
--- (*)
....
the line of (*) always causes a compiler warning:
warning: unsigned int format, pointer arg (arg 2)
could anyone please help me out? thanks.
-
woody