examples/can/can_main.c: Fix printf format warnings
This commit is contained in:
parent
ff130be078
commit
b2299b4c8f
@ -352,7 +352,7 @@ int main(int argc, FAR char *argv[])
|
||||
goto errout_with_dev;
|
||||
}
|
||||
|
||||
printf(" ID: %4u DLC: %d\n", msgid, msgdlc);
|
||||
printf(" ID: %4" PRIu32 " DLC: %d\n", msgid, msgdlc);
|
||||
|
||||
#endif
|
||||
|
||||
@ -462,7 +462,7 @@ int main(int argc, FAR char *argv[])
|
||||
|
||||
/* Report success */
|
||||
|
||||
printf(" ID: %4u DLC: %d -- OK\n", msgid, msgdlc);
|
||||
printf(" ID: %4" PRIu32 " DLC: %d -- OK\n", msgid, msgdlc);
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user