FBXParser: fix compiler warning on double -> float.

pull/294/head
Alexander Gessler 2014-06-01 17:34:11 +02:00
parent 79d8e4c14a
commit 1403cabb71
1 changed files with 1 additions and 1 deletions

View File

@ -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<float>(out_double);
}
}