mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Silenced some warnings
svn-id: r44329
This commit is contained in:
parent
7106caca81
commit
a74a9c6c01
@ -66,7 +66,7 @@ void Screen::setPalette(byte *data, uint16 start, uint16 num) {
|
||||
pal.seek(start * 4);
|
||||
|
||||
// Copy the palette
|
||||
for (unsigned int i = start; i < start + num; ++i) {
|
||||
for (uint16 i = start; i < start + num; ++i) {
|
||||
_palette[i * 4] = pal.readByte();
|
||||
_palette[i * 4 + 1] = pal.readByte();
|
||||
_palette[i * 4 + 2] = pal.readByte();
|
||||
|
@ -219,7 +219,7 @@ int Script::funcRandom(int n) {
|
||||
}
|
||||
|
||||
int Script::funcAtBegin(int yesno) {
|
||||
return _vm->_game->isDialogueBegin() == yesno;
|
||||
return _vm->_game->isDialogueBegin() == (bool)yesno;
|
||||
}
|
||||
|
||||
int Script::funcLastBlock(int blockID) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user