summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/for.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-12-03 12:55:57 +0000
committerharti <harti@FreeBSD.org>2004-12-03 12:55:57 +0000
commitb01c2c6a270688df07bd929e0a69733385855b55 (patch)
treedea6bdaa787d598978322a102e5fea73f61b93c3 /usr.bin/make/for.c
parent410936c3f9c92347840df82d71941e914fda8936 (diff)
downloadFreeBSD-src-b01c2c6a270688df07bd929e0a69733385855b55.zip
FreeBSD-src-b01c2c6a270688df07bd929e0a69733385855b55.tar.gz
Fix breakage introduced on 64-bit platforms with my last commit. Need
to change to size_t in a couple of other places too.
Diffstat (limited to 'usr.bin/make/for.c')
-rw-r--r--usr.bin/make/for.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c
index 72d27cb..c4a11b8 100644
--- a/usr.bin/make/for.c
+++ b/usr.bin/make/for.c
@@ -114,7 +114,7 @@ For_Eval(char *line)
if (forLevel == 0) {
Buffer buf;
- int varlen;
+ size_t varlen;
for (ptr++; *ptr && isspace((unsigned char)*ptr); ptr++)
continue;
@@ -248,7 +248,7 @@ ForExec(void *namep, void *argp)
{
char *name = namep;
For *arg = argp;
- int len;
+ size_t len;
Var_Set(arg->var, name, VAR_GLOBAL);
DEBUGF(FOR, ("--- %s = %s\n", arg->var, name));
OpenPOWER on IntegriCloud