aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-31 12:06:57 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-31 12:06:57 +0000
commit36921818548ae954c3a5f3d92612c112b27b9ce6 (patch)
treea992ea502ffa824f3ed17e160af73e1bbfb95879 /coreutils/dd.c
parent39d1185b3a90d4486843895f8009d3f90cdf4cff (diff)
downloadbusybox-w32-36921818548ae954c3a5f3d92612c112b27b9ce6.tar.gz
busybox-w32-36921818548ae954c3a5f3d92612c112b27b9ce6.tar.bz2
busybox-w32-36921818548ae954c3a5f3d92612c112b27b9ce6.zip
avoid signed<->unsigned warning
git-svn-id: svn://busybox.net/trunk/busybox@13756 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 9a149e24a..cba90857f 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -167,7 +167,7 @@ int dd_main(int argc, char **argv)
167 if (n == 0) { 167 if (n == 0) {
168 break; 168 break;
169 } 169 }
170 if (n == bs) { 170 if ((size_t)n == bs) {
171 in_full++; 171 in_full++;
172 } else { 172 } else {
173 in_part++; 173 in_part++;
@@ -180,7 +180,7 @@ int dd_main(int argc, char **argv)
180 if (n < 0) { 180 if (n < 0) {
181 bb_perror_msg_and_die("%s", outfile); 181 bb_perror_msg_and_die("%s", outfile);
182 } 182 }
183 if (n == bs) { 183 if ((size_t)n == bs) {
184 out_full++; 184 out_full++;
185 } else { 185 } else {
186 out_part++; 186 out_part++;