fixed bug which caused unsigned bitfield problems
authorceriel <none@none>
Fri, 17 Nov 1989 11:28:38 +0000 (11:28 +0000)
committerceriel <none@none>
Fri, 17 Nov 1989 11:28:38 +0000 (11:28 +0000)
lang/cem/cemcom.ansi/ch3.c

index 71c9aad..9c9d70e 100644 (file)
@@ -189,12 +189,12 @@ ch3cast(expp, oper, tp)
        if (oldtp->tp_fund == FIELD)    {
                field2arith(expp);
                ch3cast(expp, oper, tp);
+               return;
        }
-       else
        if (tp->tp_fund == FIELD) {
                ch3cast(expp, oper, tp->tp_up);
+               return;
        }
-       else
 #endif NOBITFIELD
        if (oper == CASTAB || oper == '=' || oper == RETURN) {
                qual_lev = -2;