Browse Source

Fixed cast warninf

Christophe Riccio 14 years ago
parent
commit
d49148564a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/ulp.inl

+ 1 - 1
glm/gtx/ulp.inl

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