From dde5178b84e1288e88c184e4cb4be8d5f39686dc Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 25 Dec 2013 05:55:54 +0100 Subject: [PATCH] Fixed warnings --- glm/gtc/ulp.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glm/gtc/ulp.inl b/glm/gtc/ulp.inl index d0d8aa81..32cd8647 100644 --- a/glm/gtc/ulp.inl +++ b/glm/gtc/ulp.inl @@ -245,7 +245,7 @@ namespace glm GLM_FUNC_QUALIFIER T next_float(T const & x, uint const & ulps) { T temp = x; - for(length_t i = 0; i < ulps; ++i) + for(uint i = 0; i < ulps; ++i) temp = next_float(temp); return temp; } @@ -254,7 +254,7 @@ namespace glm GLM_FUNC_QUALIFIER vecType next_float(vecType const & x, vecType const & ulps) { vecType Result; - for(length_t i = 0; i < Result.length(); ++i) + for(uint i = 0; i < Result.length(); ++i) Result[i] = next_float(x[i], ulps[i]); return Result; } @@ -263,7 +263,7 @@ namespace glm GLM_FUNC_QUALIFIER T prev_float(T const & x, uint const & ulps) { T temp = x; - for(length_t i = 0; i < ulps; ++i) + for(uint i = 0; i < ulps; ++i) temp = prev_float(temp); return temp; }