MINOR fix warning

This commit is contained in:
Aaron
2009-12-21 10:17:21 -08:00
parent 499cb647b6
commit 83d4e4f2e1

View File

@@ -846,7 +846,7 @@ namespace QueryTests {
BSONObj res;
for ( int i=0; i<1000; i++ ){
bool found = Helpers::findById( ns() , BSON( "_id" << i ) , res );
ASSERT_EQUALS( i % 2 , found );
ASSERT_EQUALS( i % 2 , int(found) );
}
}