libmc1322x icon indicating copy to clipboard operation
libmc1322x copied to clipboard

Output pointers using printf format "%p" instead of "0x%lx".

Open hexluthor opened this issue 10 years ago • 0 comments

Fixes the following errors:

libmc1322x/lib/maca.c: In function 'Print_Packets':
libmc1322x/lib/maca.c:196: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:199: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:204: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:207: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:212: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:215: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:219: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/lib/maca.c:220: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
libmc1322x/Makefile.include:99: recipe for target 'libmc1322x/lib/maca.o' failed

hexluthor avatar Jan 13 '15 00:01 hexluthor