=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/buf.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/make/buf.c 2001/05/29 12:17:03 1.17 +++ src/usr.bin/make/buf.c 2001/05/30 00:43:00 1.18 @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: buf.c,v 1.17 2001/05/29 12:17:03 espie Exp $ */ +/* $OpenBSD: buf.c,v 1.18 2001/05/30 00:43:00 deraadt Exp $ */ /* $NetBSD: buf.c,v 1.9 1996/12/31 17:53:21 christos Exp $ */ /* @@ -128,7 +128,7 @@ const char *bytesPtr; { - if (bp->endPtr - bp->inPtr < numBytes+1) + if ((size_t)(bp->endPtr - bp->inPtr) < numBytes+1) BufExpand(bp, numBytes); memcpy(bp->inPtr, bytesPtr, numBytes);