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 070f43da7c
commit 0bd2d50e9f

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;