parent
eb23946fe7
commit
dceb7257dd
|
@ -1354,6 +1354,7 @@ ai_real XFileParser::ReadFloat()
|
||||||
double res;
|
double res;
|
||||||
::memcpy( &res, mP, 8 );
|
::memcpy( &res, mP, 8 );
|
||||||
mP += 8;
|
mP += 8;
|
||||||
|
const ai_real result( static_cast<ai_real>( res ) );
|
||||||
return result;
|
return result;
|
||||||
} else {
|
} else {
|
||||||
mP = mEnd;
|
mP = mEnd;
|
||||||
|
|
Loading…
Reference in New Issue