Browse Source

Fixed build error

Christophe Riccio 11 years ago
parent
commit
3344c8e9a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/func_integer.inl

+ 1 - 1
glm/detail/func_integer.inl

@@ -251,7 +251,7 @@ namespace glm
 	{
 		GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitCount' only accept integer values");
 
-		return bitCount(tvec1(x)).x;
+		return bitCount(tvec1<genIUType>(x)).x;
 	}
 
 	template <typename T, precision P, template <typename, precision> class vecType>