mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 00:07:59 +00:00
TONY: A few more compiler warning fixes
This commit is contained in:
parent
fe0fa0f86b
commit
3454a0a9c3
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user