summaryrefslogtreecommitdiff
path: root/apps/examples/touchscreen/tc_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/touchscreen/tc_main.c')
-rw-r--r--apps/examples/touchscreen/tc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/touchscreen/tc_main.c b/apps/examples/touchscreen/tc_main.c
index 53421b302..c2c451f2f 100644
--- a/apps/examples/touchscreen/tc_main.c
+++ b/apps/examples/touchscreen/tc_main.c
@@ -233,8 +233,8 @@ int tc_main(int argc, char *argv[])
}
else if (nbytes != sizeof(struct touch_sample_s))
{
- printf("tc_main: Unexpected read size=%d, expected=%d, Ignoring\n",
- nbytes, sizeof(struct touch_sample_s));
+ printf("tc_main: Unexpected read size=%ld, expected=%d, Ignoring\n",
+ (long)nbytes, sizeof(struct touch_sample_s));
}
/* Print the sample data on successful return */