write_message(): fix signed/unsigned comparison warning

Michael
This commit is contained in:
Michael Adam 2009-08-07 10:07:07 +02:00
parent c535939a9c
commit 947e8eb838

View File

@ -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 */