diff options
-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) | |||
57 | out: | 57 | out: |
58 | RELEASE_CONFIG_BUFFER(buffer); | 58 | RELEASE_CONFIG_BUFFER(buffer); |
59 | 59 | ||
60 | return status ? status : total; | 60 | return status ? status : (ssize_t)total; |
61 | } | 61 | } |
62 | 62 | ||
63 | 63 | ||