aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 52843c83f6..63c40b13c3 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1733,7 +1733,7 @@ Sound::VorbisTrackInfo::VorbisTrackInfo(File *file) {
int Sound::VorbisTrackInfo::play(SoundMixer *mixer, int start, int delay) {
#ifdef VORBIS_TREMOR
- ov_time_seek(&_ov_file, (int)(start / 75.0) * 1000);
+ ov_time_seek(&_ov_file, (ogg_int64_t)(start / 75.0 * 1000));
#else
ov_time_seek(&_ov_file, (int)(start / 75.0));
#endif