commit | 57545c810a1d0e0783b71d1ba74af45063e2fa42 | [log] [tgz] |
---|---|---|
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | Tue Jan 31 12:06:57 2006 +0000 |
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | Tue Jan 31 12:06:57 2006 +0000 |
tree | a992ea502ffa824f3ed17e160af73e1bbfb95879 | |
parent | 4d57926bd3197a2d56267af1417189823a7ae873 [diff] [blame] |
avoid signed<->unsigned warning
diff --git a/coreutils/dd.c b/coreutils/dd.c index 9a149e2..cba9085 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c
@@ -167,7 +167,7 @@ if (n == 0) { break; } - if (n == bs) { + if ((size_t)n == bs) { in_full++; } else { in_part++; @@ -180,7 +180,7 @@ if (n < 0) { bb_perror_msg_and_die("%s", outfile); } - if (n == bs) { + if ((size_t)n == bs) { out_full++; } else { out_part++;