FBXParser: fix compiler warning on double -> float.
parent
79d8e4c14a
commit
1403cabb71
|
@ -381,7 +381,7 @@ float ParseTokenAsFloat(const Token& t, const char*& err_out)
|
||||||
// Same
|
// Same
|
||||||
double out_double;
|
double out_double;
|
||||||
::memcpy(&out_double, data+1, sizeof(double));
|
::memcpy(&out_double, data+1, sizeof(double));
|
||||||
return out_double;
|
return static_cast<float>(out_double);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue