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/ostest/mutex.c | |
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/ostest/mutex.c')
-rw-r--r-- | apps/examples/ostest/mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/ostest/mutex.c b/apps/examples/ostest/mutex.c index 0b7f70daa..1951a4039 100644 --- a/apps/examples/ostest/mutex.c +++ b/apps/examples/ostest/mutex.c @@ -137,6 +137,6 @@ void mutex_test(void) #endif printf("\t\tThread1\tThread2\n"); - printf("\tLoops\t%ld\t%ld\n", nloops[0], nloops[1]); - printf("\tErrors\t%ld\t%ld\n", nerrors[0], nerrors[1]); + printf("\tLoops\t%lu\t%lu\n", nloops[0], nloops[1]); + printf("\tErrors\t%lu\t%lu\n", nerrors[0], nerrors[1]); } |