Skip to content

Commit

Permalink
TONY: Endian fix in expression parser
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed May 19, 2012
1 parent 5d18a71 commit bd064fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tony/mpal/expr.cpp
Expand Up @@ -301,7 +301,7 @@ const byte *ParseExpression(const byte *lpBuf, HGLOBAL *h) {
lpBuf += 2;
switch (cur->type) {
case ELT_NUMBER:
cur->val.num = *(int *)lpBuf;
cur->val.num = (int32)READ_LE_UINT32(lpBuf);
lpBuf += 4;
break;

Expand Down

0 comments on commit bd064fe

Please sign in to comment.