mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 02:36:27 +00:00
I recommend turning on signedness warnings, and honoring them :-)
svn-id: r12493
This commit is contained in:
parent
8f465b96bb
commit
c44bdf033e
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user