public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57dfac
)
fixed bug which caused unsigned bitfield problems
author
ceriel
<none@none>
Fri, 17 Nov 1989 11:28:38 +0000
(11:28 +0000)
committer
ceriel
<none@none>
Fri, 17 Nov 1989 11:28:38 +0000
(11:28 +0000)
lang/cem/cemcom.ansi/ch3.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/ch3.c
b/lang/cem/cemcom.ansi/ch3.c
index
71c9aad
..
9c9d70e
100644
(file)
--- 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;