summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-31 12:12:15 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-31 12:12:15 +0000
commit7600eec7325f0bbce1dcbf08e76c1653bf35b397 (patch)
tree7c62b9185587eda5b5fdda433b78724091c7bc59
parent57545c810a1d0e0783b71d1ba74af45063e2fa42 (diff)
avoid signed<->unsigned warning
-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;
}