aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-31 12:12:15 +0000
committerGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-31 12:12:15 +0000
commit7600eec7325f0bbce1dcbf08e76c1653bf35b397 (patch)
tree7c62b9185587eda5b5fdda433b78724091c7bc59 /libbb
parent57545c810a1d0e0783b71d1ba74af45063e2fa42 (diff)
downloadbusybox-7600eec7325f0bbce1dcbf08e76c1653bf35b397.tar.gz
busybox-7600eec7325f0bbce1dcbf08e76c1653bf35b397.tar.bz2
avoid signed<->unsigned warning
Diffstat (limited to 'libbb')
-rw-r--r--libbb/copyfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/copyfd.c b/libbb/copyfd.c
index fcae8d3f7..0976180af 100644
--- a/libbb/copyfd.c
+++ b/libbb/copyfd.c
@@ -57,7 +57,7 @@ static ssize_t bb_full_fd_action(int src_fd, int dst_fd, size_t size)
out:
RELEASE_CONFIG_BUFFER(buffer);
- return status ? status : total;
+ return status ? status : (ssize_t)total;
}