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 d3fb39f..105939b 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) { if (count) { ssize_t size = full_write(fd, buf, count); - if (size != count) + if ((size_t)size != count) bb_error_msg_and_die("short write"); } } |