aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-05 00:40:23 +1000
committerPaul Gilbert2012-05-05 00:40:23 +1000
commit3454a0a9c3738b09ac8de417297cb1f8adb0d2da (patch)
tree56e0d5d554104dd99dd9ac943c5f443c8a902035
parentfe0fa0f86b44d6f6766386fa070c84c6f358ccb9 (diff)
downloadscummvm-rg350-3454a0a9c3738b09ac8de417297cb1f8adb0d2da.tar.gz
scummvm-rg350-3454a0a9c3738b09ac8de417297cb1f8adb0d2da.tar.bz2
scummvm-rg350-3454a0a9c3738b09ac8de417297cb1f8adb0d2da.zip
TONY: A few more compiler warning fixes
-rw-r--r--engines/tony/gfxengine.cpp2
-rw-r--r--engines/tony/mpal/loadmpc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/gfxengine.cpp b/engines/tony/gfxengine.cpp
index dd557efafd..6b5105bc35 100644
--- a/engines/tony/gfxengine.cpp
+++ b/engines/tony/gfxengine.cpp
@@ -934,7 +934,7 @@ void RMGfxEngine::LoadState(const char *fn) {
// Le versioni vecchie necessitano di On enter
if (ver < 5)
- mpalQueryDoAction(0, loc, 0);
+ mpalQueryDoActionU32(0, loc, 0);
else {
// In quelle nuove, ci basta resettare gli mcode
MCharResetCodes();
diff --git a/engines/tony/mpal/loadmpc.cpp b/engines/tony/mpal/loadmpc.cpp
index cdcf91abc4..27ef3f99c5 100644
--- a/engines/tony/mpal/loadmpc.cpp
+++ b/engines/tony/mpal/loadmpc.cpp
@@ -546,7 +546,7 @@ bool ParseMpc(const byte *lpBuf) {
lpmvVars = (LPMPALVAR)GlobalLock(hVars);
for (i = 0; i < nVars; i++) {
- wLen=*(byte *)lpBuf;
+ wLen = *(const byte *)lpBuf;
lpBuf++;
CopyMemory(lpmvVars->lpszVarName, lpBuf, MIN(wLen, (uint16)32));
lpBuf += wLen;