mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
make casting types consistent
This commit is contained in:
parent
d137e9c4fa
commit
6d21546c9d
@ -219,7 +219,7 @@ namespace mongo {
|
|||||||
( (boost::uint64_t)(boost::uint32_t)getNumber( o , "top" ) << 32 ) +
|
( (boost::uint64_t)(boost::uint32_t)getNumber( o , "top" ) << 32 ) +
|
||||||
( boost::uint32_t)( getNumber( o , "bottom" ) );
|
( boost::uint32_t)( getNumber( o , "bottom" ) );
|
||||||
} else {
|
} else {
|
||||||
val = (boost::uint64_t) getNumber( o, "floatApprox" );
|
val = (boost::uint64_t)(boost::int64_t) getNumber( o, "floatApprox" );
|
||||||
}
|
}
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user