- Fixed a dangerous typo in xs_Float code.

The function 'xs_CeilToUInt' would call itself, leading to infinite loop, due to a typo. It should call 'xs_CeilToInt' instead.
This commit is contained in:
Edoardo Prezioso 2015-07-16 19:54:27 +02:00
parent add52d48cd
commit f57e23989b

View file

@ -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)