Skip to content

Commit

Permalink
ACTIONSCRIPT: Make unsigned variable signed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Sep 30, 2019
1 parent 1cabd73 commit 864311f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aurora/actionscript/asbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,9 @@ void ASBuffer::actionPush(AVM &avm) {
break;
}
case 7: {
unsigned int uintValue = _script->readUint32LE();
_stack.push(uintValue);
debugC(kDebugActionScript, 1, "actionPush %u", uintValue);
int intValue = _script->readSint32LE();
_stack.push(intValue);
debugC(kDebugActionScript, 1, "actionPush %d", intValue);
length -= 4;
break;
}
Expand Down

0 comments on commit 864311f

Please sign in to comment.