Fixed warnings

This commit is contained in:
Christophe Riccio
2015-07-18 10:00:00 +02:00
parent 98a736bcf1
commit 357eaf7071
4 changed files with 14 additions and 14 deletions

View File

@@ -99,7 +99,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<int>: %d clocks\n", End - Begin);
printf("glm::log2<int>: %ld clocks\n", End - Begin);
}
{
@@ -113,7 +113,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<ivec4>: %d clocks\n", End - Begin);
printf("glm::log2<ivec4>: %ld clocks\n", End - Begin);
}
# if GLM_HAS_BITSCAN_WINDOWS
@@ -135,7 +135,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<ivec4> inlined: %d clocks\n", End - Begin);
printf("glm::log2<ivec4> inlined: %ld clocks\n", End - Begin);
}
@@ -155,7 +155,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<ivec4> inlined no cast: %d clocks\n", End - Begin);
printf("glm::log2<ivec4> inlined no cast: %ld clocks\n", End - Begin);
}
@@ -175,7 +175,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<ivec4> reinterpret: %d clocks\n", End - Begin);
printf("glm::log2<ivec4> reinterpret: %ld clocks\n", End - Begin);
}
# endif//GLM_HAS_BITSCAN_WINDOWS
@@ -190,7 +190,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<float>: %d clocks\n", End - Begin);
printf("glm::log2<float>: %ld clocks\n", End - Begin);
}
{
@@ -204,7 +204,7 @@ namespace log2_
std::clock_t End = clock();
printf("glm::log2<vec4>: %d clocks\n", End - Begin);
printf("glm::log2<vec4>: %ld clocks\n", End - Begin);
}
return Error;