public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e203ddb
)
Don't switch on longs!
author
ceriel
<none@none>
Tue, 17 Mar 1987 11:12:09 +0000
(11:12 +0000)
committer
ceriel
<none@none>
Tue, 17 Mar 1987 11:12:09 +0000
(11:12 +0000)
util/ego/cs/cs_getent.c
patch
|
blob
|
history
diff --git
a/util/ego/cs/cs_getent.c
b/util/ego/cs/cs_getent.c
index
791c55a
..
e2bd963
100644
(file)
--- a/
util/ego/cs/cs_getent.c
+++ b/
util/ego/cs/cs_getent.c
@@
-96,9
+96,11
@@
entity_p getentity(lnp, l_out)
/* Lor is a special case. */
if (INSTR(lnp) == op_lor) {
+ offset off = off_set(lnp);
+
en.en_static = FALSE;
en.en_size = ps;
- switch (
off_set(lnp)
) {
+ switch (
(int) off == off ? (int) off : 3
) {
default:
assert(FALSE);
break;