mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
Merge pull request #347 from edward-san/xs_float_infinite_loop
- Fixed a dangerous typo in xs_Float code.
This commit is contained in:
commit
7be6041f57
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ finline static uint32 xs_FloorToUInt(real64 val)
|
|||
|
||||
finline static uint32 xs_CeilToUInt(real64 val)
|
||||
{
|
||||
return (uint32)xs_CeilToUInt(val);
|
||||
return (uint32)xs_CeilToInt(val);
|
||||
}
|
||||
|
||||
finline static uint32 xs_RoundToUInt(real64 val)
|
||||
|
|
Loading…
Reference in a new issue