From: ceriel Date: Fri, 17 Nov 1989 11:28:38 +0000 (+0000) Subject: fixed bug which caused unsigned bitfield problems X-Git-Tag: release-5-5~2072 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=676fee0a3eb51adf5aa74bfcd0b4b662225e21ff;p=ack.git fixed bug which caused unsigned bitfield problems --- diff --git a/lang/cem/cemcom.ansi/ch3.c b/lang/cem/cemcom.ansi/ch3.c index 71c9aad4b..9c9d70efe 100644 --- a/lang/cem/cemcom.ansi/ch3.c +++ b/lang/cem/cemcom.ansi/ch3.c @@ -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;