write_message(): fix signed/unsigned comparison warning
Michael
This commit is contained in:
parent
c535939a9c
commit
947e8eb838
@ -108,7 +108,7 @@ write_message (int fd, const char *fmt, ...)
|
||||
va_end (ap);
|
||||
|
||||
/* If that worked, break out so we can send the buffer */
|
||||
if (n > -1 && n < size)
|
||||
if (n > -1 && (size_t)n < size)
|
||||
break;
|
||||
|
||||
/* Else, try again with more space */
|
||||
|
Loading…
x
Reference in New Issue
Block a user