diff options
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r-- | libbb/xfuncs_printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c index d3fb39f04..105939b5e 100644 --- a/libbb/xfuncs_printf.c +++ b/libbb/xfuncs_printf.c | |||
@@ -204,7 +204,7 @@ void xwrite(int fd, const void *buf, size_t count) | |||
204 | { | 204 | { |
205 | if (count) { | 205 | if (count) { |
206 | ssize_t size = full_write(fd, buf, count); | 206 | ssize_t size = full_write(fd, buf, count); |
207 | if (size != count) | 207 | if ((size_t)size != count) |
208 | bb_error_msg_and_die("short write"); | 208 | bb_error_msg_and_die("short write"); |
209 | } | 209 | } |
210 | } | 210 | } |