Merge pull request #347 from edward-san/xs_float_infinite_loop

- Fixed a dangerous typo in xs_Float code.
This commit is contained in:
coelckers 2015-07-16 20:26:21 +02:00
commit 7be6041f57

View file

@ -209,7 +209,7 @@ finline static uint32 xs_FloorToUInt(real64 val)
finline static uint32 xs_CeilToUInt(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) finline static uint32 xs_RoundToUInt(real64 val)