aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2003-04-05 11:24:58 +0000
committerNicolas Bacca2003-04-05 11:24:58 +0000
commitfb20404df0a91f77ee9226437d5312c6ea75b69e (patch)
treeee615afec9e18e0ba777c235f8975c5c2dd0b177 /scumm/sound.cpp
parent103937ea63f57f18cea82d426c8a1918d1c352eb (diff)
downloadscummvm-rg350-fb20404df0a91f77ee9226437d5312c6ea75b69e.tar.gz
scummvm-rg350-fb20404df0a91f77ee9226437d5312c6ea75b69e.tar.bz2
scummvm-rg350-fb20404df0a91f77ee9226437d5312c6ea75b69e.zip
Watch this cast
svn-id: r6912
Diffstat (limited to 'scumm/sound.cpp')
-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