[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.101,1.102

Nicolas Bacca arisme at users.sourceforge.net
Sat Apr 5 03:26:01 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv1913

Modified Files:
	sound.cpp 
Log Message:
Watch this cast

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- sound.cpp	5 Apr 2003 09:55:12 -0000	1.101
+++ sound.cpp	5 Apr 2003 11:24:58 -0000	1.102
@@ -1733,7 +1733,7 @@
 
 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





More information about the Scummvm-git-logs mailing list