diff --git a/glm/gtx/component_wise.inl b/glm/gtx/component_wise.inl index fbff05f4..de767352 100644 --- a/glm/gtx/component_wise.inl +++ b/glm/gtx/component_wise.inl @@ -12,7 +12,7 @@ namespace glm template GLM_FUNC_QUALIFIER typename genType::value_type compAdd(genType const & v) { - typename genType::size_type result = typename genType::value_type(0); + typename genType::value_type result = typename genType::value_type(0); for(typename genType::size_type i = 0; i < v.length(); ++i) result += v[i]; return result; diff --git a/readme.txt b/readme.txt index 5b48f4ca..48edb74a 100644 --- a/readme.txt +++ b/readme.txt @@ -36,6 +36,12 @@ GLM is a header only library, there is nothing to build, just include it. More informations in GLM manual: http://glm.g-truc.net/glm.pdf +================================================================================ +GLM 0.9.4.2: 2013-01-XX +-------------------------------------------------------------------------------- +- Fixed compAdd from GTX_component_wise +- Fixed GCC warnings + ================================================================================ GLM 0.9.4.1: 2012-12-22 --------------------------------------------------------------------------------