diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 14:51:10 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 14:51:10 -0600 |
commit | b845f19a3bb200e49a7a314787b3290e3155ce01 (patch) | |
tree | 51d3d2e4887b9a950b1e7d85c61359544c7f547c /apps/examples/touchscreen | |
parent | f7de6bbcbae818aff936bd71ee5268946ea9ad30 (diff) | |
download | px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.gz px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.bz2 px4-nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.zip |
Fixes for more cppcheck complaints. Mostly cosmetic
Diffstat (limited to 'apps/examples/touchscreen')
-rw-r--r-- | apps/examples/touchscreen/tc_main.c | 4 |
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 */ |