More 64-bit fixes.
[jmk] --rw-rw-r-- M 106895 glenda sys 14263 Jan 2 11:26 sys/src/cmd/lex/parser.y
/n/sourcesdump/2006/0102/plan9/sys/src/cmd/lex/parser.y:120,126 -
/n/sourcesdump/2006/0103/plan9/sys/src/cmd/lex/parser.y:120,126
}
else
p = psave;
- $$.i = mnp(RCCL, (uchar*)p);
+ $$.i = mnp(RCCL, p);
cclinter(1);
}
| CCL
/n/sourcesdump/2006/0102/plan9/sys/src/cmd/lex/parser.y:254,260 -
/n/sourcesdump/2006/0103/plan9/sys/src/cmd/lex/parser.y:254,261
right = myalloc(treesize,sizeof(*right));
nullstr = myalloc(treesize,sizeof(*nullstr));
parent = myalloc(treesize,sizeof(*parent));
- if(name == 0 || left == 0 || right == 0 || parent == 0 || nullstr == 0)
+ ptr = myalloc(treesize,sizeof(*ptr));
+ if(name == 0 || left == 0 || right == 0 || parent == 0 || nullstr == 0 || ptr == 0)
error("Too little core for parse tree");
return(freturn(DELIM));
case 'p': case 'P': /* has overridden number of positions */
|