Re-add missing "(double)"

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2020-01-29 23:04:17 +01:00
parent ebb238ebdc
commit 5e6658847c

View file

@ -98,7 +98,7 @@ attrHot static void MixSounds(float *stream, unsigned int frames_total)
{
if (sound->looping)
{
sound->position = fmod(sound->position, sound->frames);
sound->position = fmod(sound->position, (double)sound->frames);
}
else
{