diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 15:41:34 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 15:41:34 -0600 |
commit | 6363fad05b2d312482bde3b54e43e8b0e9831532 (patch) | |
tree | a89cd2604a1c5b434c64831871c7d1a3da35f5ba /apps/system/vi/vi.c | |
parent | 76d6af0fd310967d8bf08d01cfc1db00e4a0c757 (diff) | |
download | nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.tar.gz nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.tar.bz2 nuttx-6363fad05b2d312482bde3b54e43e8b0e9831532.zip |
Fixes for more cppcheck complaints.
Diffstat (limited to 'apps/system/vi/vi.c')
-rw-r--r-- | apps/system/vi/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/system/vi/vi.c b/apps/system/vi/vi.c index 6c145a23d..c2524f887 100644 --- a/apps/system/vi/vi.c +++ b/apps/system/vi/vi.c @@ -3636,7 +3636,7 @@ int vi_main(int argc, char **argv) } else { - fprintf(stderr, "ERROR: Column value out of range: %ld\n", + fprintf(stderr, "ERROR: Column value out of range: %lu\n", value); vi_showusage(vi, argv[0], EXIT_FAILURE); } @@ -3652,7 +3652,7 @@ int vi_main(int argc, char **argv) } else { - fprintf(stderr, "ERROR: Row value out of range: %ld\n", + fprintf(stderr, "ERROR: Row value out of range: %lu\n", value); vi_showusage(vi, argv[0], EXIT_FAILURE); } |