aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}