diff options
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r-- | findutils/xargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c index ee16ea675..d1cf192b1 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c | |||
@@ -233,7 +233,7 @@ static xlist_t *process_stdin(xlist_t *list_arg, | |||
233 | } | 233 | } |
234 | if (s == NULL) | 234 | if (s == NULL) |
235 | s = p = buf; | 235 | s = p = buf; |
236 | if ((p - buf) >= mc) | 236 | if ((size_t)(p - buf) >= mc) |
237 | bb_error_msg_and_die("argument line too long"); | 237 | bb_error_msg_and_die("argument line too long"); |
238 | *p++ = (c == EOF ? '\0' : c); | 238 | *p++ = (c == EOF ? '\0' : c); |
239 | if (c == EOF) { /* word's delimiter or EOF detected */ | 239 | if (c == EOF) { /* word's delimiter or EOF detected */ |