diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-31 15:12:15 +0300 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-31 15:12:15 +0300 |
commit | 7600eec7325f0bbce1dcbf08e76c1653bf35b397 (patch) | |
tree | 7c62b9185587eda5b5fdda433b78724091c7bc59 /libbb/copyfd.c | |
parent | 57545c810a1d0e0783b71d1ba74af45063e2fa42 (diff) |
avoid signed<->unsigned warning
Diffstat (limited to 'libbb/copyfd.c')
-rw-r--r-- | libbb/copyfd.c | 2 |
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; } |