From 29f600dfbbe5887a558f947d1e8c280bcf8ee7ab Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 25 Nov 2016 00:37:32 +0100 Subject: [PATCH] Fixed warnings --- test/gtc/gtc_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtc/gtc_functions.cpp b/test/gtc/gtc_functions.cpp index 0bdf8ab5..3e0b3c88 100644 --- a/test/gtc/gtc_functions.cpp +++ b/test/gtc/gtc_functions.cpp @@ -18,7 +18,7 @@ int test_gauss_2d() std::vector Result(20); for(std::size_t i = 0, n = Result.size(); i < n; ++i) - Result[i] = glm::gauss(glm::vec2(i) * 0.1f, glm::vec2(0.0f), glm::vec2(1.0f)); + Result[i] = glm::gauss(glm::vec2(static_cast(i)) * 0.1f, glm::vec2(0.0f), glm::vec2(1.0f)); return Error; }