diff options
author | Oliver Kiehl | 2003-06-01 10:53:21 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-06-01 10:53:21 +0000 |
commit | 5c91b160f68947c77fe73314fc3a740a7c9aa660 (patch) | |
tree | 504b0ebec6b6149f1d8f478e78d14c2130b16a32 | |
parent | 41e316ad6e48404c194353ee7e5228d99e841627 (diff) | |
download | scummvm-rg350-5c91b160f68947c77fe73314fc3a740a7c9aa660.tar.gz scummvm-rg350-5c91b160f68947c77fe73314fc3a740a7c9aa660.tar.bz2 scummvm-rg350-5c91b160f68947c77fe73314fc3a740a7c9aa660.zip |
fix gcc compile
svn-id: r8232
-rw-r--r-- | scumm/instrument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index f334a2fd0b..575dcf75a5 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -433,7 +433,7 @@ void Instrument_Roland::send (MidiChannel *mc) { byte checksum = 0; byte *ptr = (byte *) &_instrument + 4; int i; - for (i = 4; i < sizeof (_instrument) - 1; ++i) + for (i = 4; i < (int)sizeof (_instrument) - 1; ++i) checksum -= *ptr++; _instrument.checksum = checksum & 0x7F; |