From 2bafb70ce1e7af96640c501d3ce3d2a2bf29c9e5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 3 Dec 2020 18:13:28 +0900 Subject: [PATCH] examples/touchscreen/tc_main.c: Fix a syslog format --- examples/touchscreen/tc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/touchscreen/tc_main.c b/examples/touchscreen/tc_main.c index a3b672683..c60bb08fb 100644 --- a/examples/touchscreen/tc_main.c +++ b/examples/touchscreen/tc_main.c @@ -181,7 +181,7 @@ int main(int argc, FAR char *argv[]) iinfo("Reading...\n"); nbytes = read(fd, &sample, sizeof(struct touch_sample_s)); - iinfo("Bytes read: %d\n", nbytes); + iinfo("Bytes read: %zd\n", nbytes); /* Handle unexpected return values */