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/poll/poll_main.c | |
parent | f7de6bbcbae818aff936bd71ee5268946ea9ad30 (diff) | |
download | nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.gz nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.tar.bz2 nuttx-b845f19a3bb200e49a7a314787b3290e3155ce01.zip |
Fixes for more cppcheck complaints. Mostly cosmetic
Diffstat (limited to 'apps/examples/poll/poll_main.c')
-rw-r--r-- | apps/examples/poll/poll_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/poll/poll_main.c b/apps/examples/poll/poll_main.c index 11479e1a3..0f61f2f25 100644 --- a/apps/examples/poll/poll_main.c +++ b/apps/examples/poll/poll_main.c @@ -199,7 +199,8 @@ int poll_main(int argc, char *argv[]) goto errout; } - printf("\npoll_main: Sent '%s' (%d bytes)\n", buffer, nbytes); + printf("\npoll_main: Sent '%s' (%ld bytes)\n", + buffer, (long)nbytes); fflush(stdout); /* Wait awhile. This delay should be long enough that the |