mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-14 00:43:14 +00:00
examples/buttons/buttons_main.c: Fix a printf format warning
This commit is contained in:
parent
700b10f2aa
commit
99884e40f1
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ static int button_daemon(int argc, char *argv[])
|
|||
|
||||
oldsample = sample;
|
||||
#else
|
||||
printf("Sample = %d\n", sample);
|
||||
printf("Sample = %jd\n", (intmax_t)sample);
|
||||
#endif
|
||||
|
||||
/* Make sure that everything is displayed */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue