examples/buttons/buttons_main.c: Fix a printf format warning
This commit is contained in:
parent
700b10f2aa
commit
99884e40f1
@ -364,7 +364,7 @@ static int button_daemon(int argc, char *argv[])
|
|||||||
|
|
||||||
oldsample = sample;
|
oldsample = sample;
|
||||||
#else
|
#else
|
||||||
printf("Sample = %d\n", sample);
|
printf("Sample = %jd\n", (intmax_t)sample);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Make sure that everything is displayed */
|
/* Make sure that everything is displayed */
|
||||||
|
Loading…
Reference in New Issue
Block a user