diff options
author | Filippos Karapetis | 2009-02-15 16:45:39 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-15 16:45:39 +0000 |
commit | 06186502b2bfa413e7d09c12ed691e9bcf6acbaf (patch) | |
tree | a3bc8363648b5c194277084604b31fe9b91802f8 /engines/sci/sfx/iterator.cpp | |
parent | aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8 (diff) | |
download | scummvm-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/iterator.cpp')
-rw-r--r-- | engines/sci/sfx/iterator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sfx/iterator.cpp b/engines/sci/sfx/iterator.cpp index a7e66497ea..c54ff01732 100644 --- a/engines/sci/sfx/iterator.cpp +++ b/engines/sci/sfx/iterator.cpp @@ -753,7 +753,7 @@ _sci1_sample_init(sci1_song_iterator_t *self, int offset) int begin; int end; - CHECK_FOR_END_ABSOLUTE(offset + 10); + CHECK_FOR_END_ABSOLUTE((unsigned int)offset + 10); if (self->data[offset + 1] != 0) sciprintf("[iterator-1] In sample at offset 0x04x: Byte #1 is %02x instead of zero\n", self->data[offset + 1]); @@ -763,7 +763,7 @@ _sci1_sample_init(sci1_song_iterator_t *self, int offset) begin = getInt16(self->data + offset + 6); end = getInt16(self->data + offset + 8); - CHECK_FOR_END_ABSOLUTE(offset + 10 + length); + CHECK_FOR_END_ABSOLUTE((unsigned int)(offset + 10 + length)); sample = (sci1_sample_t*)sci_malloc(sizeof(sci1_sample_t)); sample->delta = begin; |