(skip): Add a cast to avoid warning about comparison

between signed and unsigned.
This commit is contained in:
Jim Meyering committed 2002-09-02 07:23:09 +00:00
1 parent c6fcfa23be
commit 680cd976cc
1 file changed
+1 -1
+1 -1
View File
@@ -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
{