aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
diff options
context:
space:
mode:
authorMax Horn2010-01-07 15:11:46 +0000
committerMax Horn2010-01-07 15:11:46 +0000
commit423094cd5f624feb259a0c6cbfefd269553ef44d (patch)
tree0ed478a53139011e0273b2e972c1575bced4084d /sound/vorbis.cpp
parent40f950616397dad5833751b755c11f92f4462acb (diff)
downloadscummvm-rg350-423094cd5f624feb259a0c6cbfefd269553ef44d.tar.gz
scummvm-rg350-423094cd5f624feb259a0c6cbfefd269553ef44d.tar.bz2
scummvm-rg350-423094cd5f624feb259a0c6cbfefd269553ef44d.zip
Fix warning
svn-id: r47119
Diffstat (limited to 'sound/vorbis.cpp')
-rw-r--r--sound/vorbis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp
index e6da9eaf6d..55c676cfed 100644
--- a/sound/vorbis.cpp
+++ b/sound/vorbis.cpp
@@ -134,7 +134,7 @@ VorbisInputStream::VorbisInputStream(Common::SeekableReadStream *inStream, bool
#ifdef USE_TREMOR
_length = Timestamp(ov_time_total(&_ovFile, -1), getRate());
#else
- _length = Timestamp(ov_time_total(&_ovFile, -1) * 1000.0, getRate());
+ _length = Timestamp(uint32(ov_time_total(&_ovFile, -1) * 1000.0), getRate());
#endif
// Read in initial data