examples/touchscreen/tc_main.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 10:27:14 +09:00 committed by Xiang Xiao
parent c8f2f0f262
commit 67f18f8f2c

View File

@ -110,7 +110,7 @@ int main(int argc, FAR char *argv[])
nsamples = strtol(argv[1], NULL, 10);
}
printf("tc_main: nsamples: %d\n", nsamples);
printf("tc_main: nsamples: %ld\n", nsamples);
/* Open the touchscreen device for reading */