aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-02-17 16:07:32 +0000
committerJohannes Schickel2010-02-17 16:07:32 +0000
commit8daaeae84903a8f29f8f3c25808e157ab886cbbb (patch)
treedd8a0dc86c41345948e69137476635bda415b412
parentbf82639c04ccc4508a605f263d844138f6d22a6b (diff)
downloadscummvm-rg350-8daaeae84903a8f29f8f3c25808e157ab886cbbb.tar.gz
scummvm-rg350-8daaeae84903a8f29f8f3c25808e157ab886cbbb.tar.bz2
scummvm-rg350-8daaeae84903a8f29f8f3c25808e157ab886cbbb.zip
Fix gcc warning.
svn-id: r48077
-rw-r--r--sound/mods/paula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mods/paula.cpp b/sound/mods/paula.cpp
index 7f3b3eb199..45626bb2ec 100644
--- a/sound/mods/paula.cpp
+++ b/sound/mods/paula.cpp
@@ -89,7 +89,7 @@ inline int mixBuffer(int16 *&buf, const int8 *data, Paula::Offset &offset, frac_
// Step to next source sample
offset.rem_off += rate;
- if (offset.rem_off >= FRAC_ONE) {
+ if (offset.rem_off >= (frac_t)FRAC_ONE) {
offset.int_off += fracToInt(offset.rem_off);
offset.rem_off &= FRAC_LO_MASK;
}