aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 16:45:39 +0000
committerFilippos Karapetis2009-02-15 16:45:39 +0000
commit06186502b2bfa413e7d09c12ed691e9bcf6acbaf (patch)
treea3bc8363648b5c194277084604b31fe9b91802f8 /engines/sci/sfx/softseq
parentaff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8 (diff)
downloadscummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.tar.gz
scummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.tar.bz2
scummvm-rg350-06186502b2bfa413e7d09c12ed691e9bcf6acbaf.zip
Silenced more warnings
svn-id: r38267
Diffstat (limited to 'engines/sci/sfx/softseq')
-rw-r--r--engines/sci/sfx/softseq/amiga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/softseq/amiga.cpp b/engines/sci/sfx/softseq/amiga.cpp
index ca0d40b689..280f22fa5e 100644
--- a/engines/sci/sfx/softseq/amiga.cpp
+++ b/engines/sci/sfx/softseq/amiga.cpp
@@ -430,7 +430,7 @@ static instrument_t *read_instrument(FILE *file, int *id)
sciprintf(" Segment offsets: 0 %i %i\n", loop_offset, read_int32(header + 43));
#endif
instrument->samples = (sbyte *) sci_malloc(size + 1);
- if (fread(instrument->samples, 1, size, file) < size) {
+ if (fread(instrument->samples, 1, size, file) < (unsigned int)size) {
sciprintf("[sfx:seq:amiga] Error: failed to read instrument samples\n");
return NULL;
}