From c44bdf033e5a8460fb8aa1312bf8cc0866f60c8e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 18 Jan 2004 18:42:44 +0000 Subject: [PATCH] I recommend turning on signedness warnings, and honoring them :-) svn-id: r12493 --- scumm/imuse_digi/dimuse.cpp | 1 - scumm/imuse_digi/dimuse_music.cpp | 2 +- scumm/imuse_digi/dimuse_tables.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 0a66c3950b2..e14a76dda10 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -412,7 +412,6 @@ void IMuseDigital::parseScriptCmds(int a, int b, int c, int d, int e, int f, int int cmd = a; int soundId = b; int sub_cmd = c; - int chan = -1; if (!cmd) return; diff --git a/scumm/imuse_digi/dimuse_music.cpp b/scumm/imuse_digi/dimuse_music.cpp index cf7033a38be..b854b5c482e 100644 --- a/scumm/imuse_digi/dimuse_music.cpp +++ b/scumm/imuse_digi/dimuse_music.cpp @@ -37,7 +37,7 @@ void IMuseDigital::setDigMusicState(int stateId) { } if (num == -1) { - for (l = 0; _digStateMusicMap[l].roomId != -1; l++) { + for (l = 0; /* _digStateMusicMap[l].roomId != -1 */ ; l++) { // FIXME comparing an unsigned int with -1, are we? :-) if ((_digStateMusicMap[l].roomId == stateId)) { break; } diff --git a/scumm/imuse_digi/dimuse_tables.cpp b/scumm/imuse_digi/dimuse_tables.cpp index c1b6703dcad..537db77be09 100644 --- a/scumm/imuse_digi/dimuse_tables.cpp +++ b/scumm/imuse_digi/dimuse_tables.cpp @@ -148,7 +148,7 @@ const imuseRoomMap _digStateMusicMap[] = { {45, 1, 0, 0, 0, 0 }, {87, 1, 0, 0, 0, 0 }, {111, 1, 0, 0, 0, 0 }, - {-1, 1, 0, 0, 0, 0 } + {0xff, 1, 0, 0, 0, 0 } }; const imuseDigTable _digStateMusicTable[] = {