Re-add missing "(double)"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
ebb238ebdc
commit
5e6658847c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue