examples/touchscreen/tc_main.c: Fix a printf format warning
This commit is contained in:
parent
c48e65414b
commit
2d4d8aa643
@ -200,9 +200,9 @@ int main(int argc, FAR char *argv[])
|
|||||||
}
|
}
|
||||||
else if (nbytes != sizeof(struct touch_sample_s))
|
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",
|
"Ignoring\n",
|
||||||
(long)nbytes, sizeof(struct touch_sample_s));
|
nbytes, sizeof(struct touch_sample_s));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print the sample data on successful return */
|
/* Print the sample data on successful return */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user