diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 11:45:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 11:45:00 -0600 |
commit | c9b18b049b09580260188349bb32e91b59f74965 (patch) | |
tree | 14929ed18bf0cfc14d32d78825b3f3a47ae7d589 /apps/examples/pipe | |
parent | b756c4b51f51427339bf3649430f8470f64d7a8d (diff) | |
download | nuttx-c9b18b049b09580260188349bb32e91b59f74965.tar.gz nuttx-c9b18b049b09580260188349bb32e91b59f74965.tar.bz2 nuttx-c9b18b049b09580260188349bb32e91b59f74965.zip |
More fixes to issues noted by cppcheck
Diffstat (limited to 'apps/examples/pipe')
-rw-r--r-- | apps/examples/pipe/interlock_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/pipe/interlock_test.c b/apps/examples/pipe/interlock_test.c index 0391fe36f..d06442950 100644 --- a/apps/examples/pipe/interlock_test.c +++ b/apps/examples/pipe/interlock_test.c @@ -172,8 +172,8 @@ int interlock_test(void) } else if (ret != 0) { - fprintf(stderr, "interlock_test: Read %d bytes of data -- aborting: %d\n", - nbytes, errno); + fprintf(stderr, "interlock_test: Read %ld bytes of data -- aborting: %d\n", + (long)nbytes, errno); ret = 5; goto errout_with_file; } |