Skip to content

Commit

Permalink
TONY: Change to hopefully fix Mingw 64 compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 5, 2012
1 parent 5780748 commit 35a7e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/tony/mpal/mpal.cpp
Expand Up @@ -570,7 +570,7 @@ void CustomThread(CORO_PARAM, const void *param) {

CORO_BEGIN_CODE(_ctx);

_ctx->p = *(LpCfCall *)param;
_ctx->p = *(const LpCfCall *)param;

CORO_INVOKE_4(GLOBALS._lplpFunctions[_ctx->p->_nCf], _ctx->p->_arg1, _ctx->p->_arg2, _ctx->p->_arg3, _ctx->p->_arg4);

Expand Down Expand Up @@ -693,7 +693,7 @@ void ActionThread(CORO_PARAM, const void *param) {

// The ActionThread owns the data block pointed to, so we need to make sure it's
// freed when the process exits
_ctx->item = *(LpMpalItem *)param;
_ctx->item = *(const LpMpalItem *)param;

GLOBALS._mpalError = 0;
for (_ctx->j = 0; _ctx->j < _ctx->item->_action[_ctx->item->_dwRes]._nCmds; _ctx->j++) {
Expand Down

0 comments on commit 35a7e79

Please sign in to comment.