aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/drivers
diff options
context:
space:
mode:
authorFilippos Karapetis2016-03-01 01:12:58 +0200
committerFilippos Karapetis2016-03-01 01:12:58 +0200
commitcdbd7c8add6ebaad15cc6498b09d806c4f2a3fe1 (patch)
treeecb3161b7f9259207eef1386023c8d488cf414f7 /engines/sci/sound/drivers
parentca623ff49073c76915a769bbbea94cb1a1e4dd25 (diff)
downloadscummvm-rg350-cdbd7c8add6ebaad15cc6498b09d806c4f2a3fe1.tar.gz
scummvm-rg350-cdbd7c8add6ebaad15cc6498b09d806c4f2a3fe1.tar.bz2
scummvm-rg350-cdbd7c8add6ebaad15cc6498b09d806c4f2a3fe1.zip
SCI: Use uint32 instead of unsigned int
Diffstat (limited to 'engines/sci/sound/drivers')
-rw-r--r--engines/sci/sound/drivers/amigamac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/drivers/amigamac.cpp b/engines/sci/sound/drivers/amigamac.cpp
index 5ce49086ca..0f93b19e7c 100644
--- a/engines/sci/sound/drivers/amigamac.cpp
+++ b/engines/sci/sound/drivers/amigamac.cpp
@@ -497,7 +497,7 @@ MidiDriver_AmigaMac::InstrumentSample *MidiDriver_AmigaMac::readInstrumentSCI0(C
}
instrument->samples = (int8 *) malloc(size + 1);
- if (file.read(instrument->samples, size) < (unsigned int)size) {
+ if (file.read(instrument->samples, size) < (uint32)size) {
warning("Amiga/Mac driver: failed to read instrument samples");
free(instrument->samples);
delete instrument;