fixed some minor problems
authorceriel <none@none>
Fri, 15 Jan 1988 16:55:01 +0000 (16:55 +0000)
committerceriel <none@none>
Fri, 15 Jan 1988 16:55:01 +0000 (16:55 +0000)
lang/m2/comp/chk_expr.c
lang/m2/comp/cstoper.c

index d8afa99..bfb7744 100644 (file)
@@ -1376,7 +1376,7 @@ int (*ExprChkTable[])() = {
        ChkExLinkOrName,
        NodeCrash,
        ChkSet,
-       NodeCrash,
+       done_before,
        NodeCrash,
        ChkExLinkOrName,
        NodeCrash
index ffc737b..2d15237 100644 (file)
@@ -525,7 +525,7 @@ CutSize(expr)
 
        assert(expr->nd_class == Value);
        if (tp->tp_fund != T_INTEGER) {
-               expr->nd_INT &= full_mask[tp->tp_size];
+               expr->nd_INT &= full_mask[(int)(tp->tp_size)];
        }
        else {
                int nbits = (int) (mach_long_size - tp->tp_size) * 8;