Fixed accidental assignment in each of SDKTools and sp compiler (bug 5745, r=psychonic).

This commit is contained in:
Kyle Sanderson
2013-07-18 15:50:50 -04:00
parent 7e0c0d79bc
commit b96e0c8713
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ void* eval_jump(void* src) {
else if (addr[0] == OP_JMP_BYTE) {
addr = &addr[OP_JMP_BYTE_SIZE] + *(char*)&addr[1];
//mangled 32bit jump?
if (addr[0] = OP_JMP) {
if (addr[0] == OP_JMP) {
addr = addr + *(int*)&addr[1];
}
return addr;