Add a cast to make this file compile in userland on sparc64 without
warnings.
This commit is contained in:
parent
070f43da7c
commit
0bd2d50e9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user