mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 05:39:05 +00:00
examples/can/can_main.c: Fix printf format warnings
This commit is contained in:
parent
ff130be078
commit
b2299b4c8f
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue