From 7eca9490de04f418d7f16eef6a693b490a0d3667 Mon Sep 17 00:00:00 2001 From: Daviw Williams Date: Fri, 16 Nov 2012 10:40:21 +0100 Subject: [PATCH] Fixed conversion warning. --- library/PolyVoxCore/include/PolyVoxCore/Vector.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/Vector.inl b/library/PolyVoxCore/include/PolyVoxCore/Vector.inl index c6a7acd9..da8f8648 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Vector.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/Vector.inl @@ -601,7 +601,7 @@ namespace PolyVox template inline void Vector::normalise(void) { - Type tLength = this->length(); + Type tLength = static_cast(this->length()); //FIXME - throw div by zero exception? if(tLength < 0.0001f) {