fix non osx compiler warning MINOR

This commit is contained in:
Aaron
2009-04-21 17:38:34 -04:00
parent 54f806da95
commit 61ed53b9af

View File

@@ -24,7 +24,7 @@
namespace mongo {
int elementDirection( const BSONElement &e ) {
double elementDirection( const BSONElement &e ) {
if ( e.isNumber() )
return e.number();
return 1;