mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed warning
This commit is contained in:
parent
cb017c5bca
commit
543062d325
@ -53,8 +53,8 @@ int test_nlz()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
for(std::size_t i = 1; i < 33; ++i)
|
||||
Error += glm::nlz(i) == 31u - glm::findMSB(i) ? 0 : 1;
|
||||
for(glm::uint i = 1; i < 33; ++i)
|
||||
Error += glm::nlz(i) == glm::uint(31u) - glm::findMSB(i) ? 0 : 1;
|
||||
//printf("%d, %d\n", glm::nlz(i), 31u - glm::findMSB(i));
|
||||
|
||||
return Error;
|
||||
|
Loading…
Reference in New Issue
Block a user