Fixed cast warninf

This commit is contained in:
Christophe Riccio 2011-05-07 23:36:03 +01:00
parent fee7daf6ef
commit d49148564a

View File

@ -261,7 +261,7 @@ namespace ulp
template <typename T> template <typename T>
GLM_FUNC_QUALIFIER uint float_distance(T const & x, T const & y) GLM_FUNC_QUALIFIER uint float_distance(T const & x, T const & y)
{ {
std::size_t ulp = 0; uint ulp = 0;
if(x < y) if(x < y)
{ {