examples/buttons/buttons_main.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 09:38:06 +09:00 committed by Xiang Xiao
parent 700b10f2aa
commit 99884e40f1

View File

@ -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 */