Add a cast to make this file compile in userland on sparc64 without

warnings.
This commit is contained in:
phk 2002-09-16 18:45:18 +00:00
parent 4f48460454
commit 76c7349bc6

View File

@ -115,7 +115,7 @@ sbuf_extendsize(int size)
newsize = SBUF_MINEXTENDSIZE;
while (newsize < size) {
if (newsize < SBUF_MAXEXTENDSIZE)
if (newsize < (int)SBUF_MAXEXTENDSIZE)
newsize *= 2;
else
newsize += SBUF_MAXEXTENDINCR;