Add a cast to make this file compile in userland on sparc64 without
warnings.
This commit is contained in:
parent
4f48460454
commit
76c7349bc6
@ -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