diff --git a/test/gtx/gtx_integer.cpp b/test/gtx/gtx_integer.cpp index 4c4225d95..9bc510d28 100644 --- a/test/gtx/gtx_integer.cpp +++ b/test/gtx/gtx_integer.cpp @@ -4,7 +4,7 @@ #include #include /* -int test_floor_log2() +static int test_floor_log2() { int Error = 0; @@ -20,7 +20,7 @@ int test_floor_log2() return Error; } */ -int test_log2() +static int test_log2() { int Error = 0; @@ -41,18 +41,18 @@ int test_log2() return Error; } -int test_nlz() +static int test_nlz() { int Error = 0; for(glm::uint i = 1; i < glm::uint(33); ++i) - Error += glm::nlz(i) == glm::uint(31u) - glm::findMSB(i) ? 0 : 1; + Error += glm::nlz(i) == 31u - static_cast(glm::findMSB(i)) ? 0 : 1; //printf("%d, %d\n", glm::nlz(i), 31u - glm::findMSB(i)); return Error; } -int test_pow_uint() +static int test_pow_uint() { int Error = 0; @@ -68,7 +68,7 @@ int test_pow_uint() return Error; } -int test_pow_int() +static int test_pow_int() { int Error = 0;