mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 15:11:55 +00:00
MP Libopenmpt: Fix UINT32->double cast (buildbots)
This commit is contained in:
parent
2896b3e3c4
commit
b38f6f6125
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ boolean I_SetSongPosition(UINT32 position)
|
|||
{
|
||||
// This isn't 100% correct because we don't account for loop points because we can't get them.
|
||||
// But if you seek past end of song, OpenMPT seeks to 0. So adjust the position anyway.
|
||||
openmpt.module_set_position_seconds(mod, (double)get_adjusted_position(position)/1000.); // returns new position
|
||||
openmpt.module_set_position_seconds(mod, (double)(get_adjusted_position(position)/1000.0L)); // returns new position
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue