diff --git a/src/SFML/Audio/SoundFile.cpp b/src/SFML/Audio/SoundFile.cpp index a6178072..5fb75b63 100644 --- a/src/SFML/Audio/SoundFile.cpp +++ b/src/SFML/Audio/SoundFile.cpp @@ -257,7 +257,7 @@ void SoundFile::Seek(Uint32 timeOffset) { if (myFile) { - sf_count_t frameOffset = timeOffset * mySampleRate / 1000; + sf_count_t frameOffset = static_cast(timeOffset) * mySampleRate / 1000; sf_seek(myFile, frameOffset, SEEK_SET); } }