Get rid of a compile-time warning by casting to (size_t).

MFC after:	1 week
This commit is contained in:
Garance A Drosehn 2001-07-23 01:13:20 +00:00
parent 011b9c7907
commit a33973d41a

View File

@ -258,7 +258,7 @@ makeargv(void)
register int n = 0;
margc = 0;
for (cp = cmdline; *cp && (cp - cmdline) < sizeof(cmdline) &&
for (cp = cmdline; *cp && (size_t)(cp - cmdline) < sizeof(cmdline) &&
n < MAX_MARGV; n++) {
while (isspace(*cp))
cp++;