[Scummvm-cvs-logs] scummvm master -> 35a7e79614673509870ad9421020e34fccbede71

dreammaster dreammaster at scummvm.org
Wed Sep 5 12:48:43 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
35a7e79614 TONY: Change to hopefully fix Mingw 64 compilation errors


Commit: 35a7e79614673509870ad9421020e34fccbede71
    https://github.com/scummvm/scummvm/commit/35a7e79614673509870ad9421020e34fccbede71
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2012-09-05T03:47:32-07:00

Commit Message:
TONY: Change to hopefully fix Mingw 64 compilation errors

Changed paths:
    engines/tony/mpal/mpal.cpp



diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp
index 533a4d2..10f5753 100644
--- a/engines/tony/mpal/mpal.cpp
+++ b/engines/tony/mpal/mpal.cpp
@@ -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);
 
@@ -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++) {






More information about the Scummvm-git-logs mailing list