Don't switch on longs!

This commit is contained in:
ceriel 1987-03-17 11:12:09 +00:00
parent e203ddb7b6
commit a6b6375985

View file

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