This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 2bafb70  examples/touchscreen/tc_main.c: Fix a syslog format
2bafb70 is described below

commit 2bafb70ce1e7af96640c501d3ce3d2a2bf29c9e5
Author: YAMAMOTO Takashi <yamam...@midokura.com>
AuthorDate: Thu Dec 3 18:13:28 2020 +0900

    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 a3b6726..c60bb08 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 */
 

Reply via email to