diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-02 07:23:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-02 07:23:09 +0000 |
commit | 680cd976cc1175d79e75f19efb60e760f0a596f2 (patch) | |
tree | 6872e35e7026f1307720dc2d05bc52cbf1b0b2ba | |
parent | c6fcfa23be92401447063ef53f3bd7d7994692c8 (diff) | |
download | coreutils-680cd976cc1175d79e75f19efb60e760f0a596f2.tar.xz |
(skip): Add a cast to avoid warning about comparison
between signed and unsigned.
-rw-r--r-- | src/od.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1094,7 +1094,7 @@ skip (uintmax_t n_skip) if (S_ISREG (file_stats.st_mode) && 0 <= file_stats.st_size) { - if (file_stats.st_size <= n_skip) + if ((uintmax_t) file_stats.st_size <= n_skip) n_skip -= file_stats.st_size; else { |