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 9cab1e3ab7
commit 4109d0df39
2 changed files with 2 additions and 2 deletions

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;

View File

@ -363,7 +363,7 @@ SC_FUNC int matchtag(int formaltag,int actualtag,int allowcoerce)
if (v->name[5] == '@')
{
usage = uPUBLIC;
} else if (v->name[5] = '!') {
} else if (v->name[5] == '!') {
usage = uSTOCK;
}