Return to buf.c CVS log | Up to [local] / src / usr.bin / make |
version 1.17, 2001/05/29 12:17:03 | version 1.18, 2001/05/30 00:43:00 | ||
---|---|---|---|
|
|
||
const char *bytesPtr; | const char *bytesPtr; | ||
{ | { | ||
if (bp->endPtr - bp->inPtr < numBytes+1) | if ((size_t)(bp->endPtr - bp->inPtr) < numBytes+1) | ||
BufExpand(bp, numBytes); | BufExpand(bp, numBytes); | ||
memcpy(bp->inPtr, bytesPtr, numBytes); | memcpy(bp->inPtr, bytesPtr, numBytes); |