From 1403cabb71c92dd135dae542de1fd18a7ddfc202 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Sun, 1 Jun 2014 17:34:11 +0200 Subject: [PATCH] FBXParser: fix compiler warning on double -> float. --- code/FBXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXParser.cpp b/code/FBXParser.cpp index 4ea7efb20..f6dc2e7e2 100644 --- a/code/FBXParser.cpp +++ b/code/FBXParser.cpp @@ -381,7 +381,7 @@ float ParseTokenAsFloat(const Token& t, const char*& err_out) // Same double out_double; ::memcpy(&out_double, data+1, sizeof(double)); - return out_double; + return static_cast(out_double); } }