mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
examples/touchscreen/tc_main.c: Fix a printf format warning
This commit is contained in:
parent
c48e65414b
commit
2d4d8aa643
1 changed files with 2 additions and 2 deletions
|
|
@ -200,9 +200,9 @@ int main(int argc, FAR char *argv[])
|
|||
}
|
||||
else if (nbytes != sizeof(struct touch_sample_s))
|
||||
{
|
||||
printf("tc_main: Unexpected read size=%ld, expected=%d, "
|
||||
printf("tc_main: Unexpected read size=%zd, expected=%zd, "
|
||||
"Ignoring\n",
|
||||
(long)nbytes, sizeof(struct touch_sample_s));
|
||||
nbytes, sizeof(struct touch_sample_s));
|
||||
}
|
||||
|
||||
/* Print the sample data on successful return */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue