From 7600eec7325f0bbce1dcbf08e76c1653bf35b397 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Tue, 31 Jan 2006 12:12:15 +0000 Subject: [PATCH] avoid signed<->unsigned warning --- libbb/copyfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }