fixed bug which caused unsigned bitfield problems

This commit is contained in:
ceriel 1989-11-17 11:28:38 +00:00
parent d57dfac961
commit 676fee0a3e

View 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;