Commit c7bb04e9 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-05-13 14:27:09 by simonmar]

gcc 4.0.0 fix: avoid casted expression as lvalue
parent 7a445480
......@@ -43,7 +43,7 @@
#define BCO_NEXT instrs[bciPtr++]
#define BCO_PTR(n) (W_)ptrs[n]
#define BCO_LIT(n) (W_)literals[n]
#define BCO_LIT(n) literals[n]
#define BCO_ITBL(n) itbls[n]
#define LOAD_STACK_POINTERS \
......@@ -902,7 +902,7 @@ run_BCO:
int n_words = BCO_NEXT;
Sp -= n_words;
for (i = 0; i < n_words; i++) {
Sp[i] = BCO_LIT(o_lits+i);
Sp[i] = (W_)BCO_LIT(o_lits+i);
}
goto nextInsn;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment