fixed some minor problems

This commit is contained in:
ceriel 1988-01-15 16:55:01 +00:00
parent bab6cd29ce
commit ad2d61154b
2 changed files with 2 additions and 2 deletions

View file

@ -1376,7 +1376,7 @@ int (*ExprChkTable[])() = {
ChkExLinkOrName, ChkExLinkOrName,
NodeCrash, NodeCrash,
ChkSet, ChkSet,
NodeCrash, done_before,
NodeCrash, NodeCrash,
ChkExLinkOrName, ChkExLinkOrName,
NodeCrash NodeCrash

View file

@ -525,7 +525,7 @@ CutSize(expr)
assert(expr->nd_class == Value); assert(expr->nd_class == Value);
if (tp->tp_fund != T_INTEGER) { if (tp->tp_fund != T_INTEGER) {
expr->nd_INT &= full_mask[tp->tp_size]; expr->nd_INT &= full_mask[(int)(tp->tp_size)];
} }
else { else {
int nbits = (int) (mach_long_size - tp->tp_size) * 8; int nbits = (int) (mach_long_size - tp->tp_size) * 8;