Fixed warnings

This commit is contained in:
Christophe Riccio
2017-08-08 20:28:37 +02:00
parent 32054a8fdf
commit 5a747d2ae5
7 changed files with 31 additions and 31 deletions

View File

@@ -206,8 +206,8 @@ namespace uround
for(float f = 0.0f; f < 3.1f; f += 0.05f)
{
int RoundFast = glm::uround(f);
int RoundSTD = glm::round(f);
int RoundFast = static_cast<int>(glm::uround(f));
int RoundSTD = static_cast<int>(glm::round(f));
Error += RoundFast == RoundSTD ? 0 : 1;
assert(!Error);
}