Fixed build warnings on MSVC14 x64 in the O3DGC sources.

This commit is contained in:
Jared Mulconry
2016-11-20 12:29:01 +11:00
parent 8478b03f22
commit 12aab0f4ef

View File

@@ -383,7 +383,7 @@ namespace o3dgc
r = (maxTab[d] - minTab[d]);
diag += r*r;
}
diag = sqrt(diag);
diag = static_cast<Real>(sqrt(diag));
for(unsigned long d = 0; d < dim; ++d)
{
maxTab[d] = minTab[d] + diag;