Clean up warning. (implicit float to signed integer conversion)

This commit is contained in:
Shyotl
2014-11-26 22:57:50 -06:00
parent 36a8a20434
commit fedd094987

View File

@@ -211,7 +211,7 @@ namespace llmath
inline S32 llround(const F32 val) inline S32 llround(const F32 val)
{ {
#if __cplusplus >= 201103L || _MSC_VER >= 1800 #if __cplusplus >= 201103L || _MSC_VER >= 1800
return std::round(val); return S32(std::round(val));
#else #else
return llfloor(val + 0.5f); return llfloor(val + 0.5f);
#endif #endif