0
0
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:
Aaron 2010-04-12 17:47:58 -07:00
parent d137e9c4fa
commit 6d21546c9d

View File

@ -219,7 +219,7 @@ namespace mongo {
( (boost::uint64_t)(boost::uint32_t)getNumber( o , "top" ) << 32 ) +
( boost::uint32_t)( getNumber( o , "bottom" ) );
} else {
val = (boost::uint64_t) getNumber( o, "floatApprox" );
val = (boost::uint64_t)(boost::int64_t) getNumber( o, "floatApprox" );
}
return val;
}