Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hexluthor
Copy link

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

…e following:

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant