TONY: A few more compiler warning fixes

This commit is contained in:
Paul Gilbert 2012-05-05 00:40:23 +10:00
parent fe0fa0f86b
commit 3454a0a9c3
2 changed files with 2 additions and 2 deletions
engines/tony

@ -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();

@ -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;