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