diff options
author | Aaron <aaron@10gen.com> | 2009-04-09 13:37:52 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-09 13:37:52 -0400 |
commit | 66a1e6d1ed48c4375e9057a260d7adffb2738d18 (patch) | |
tree | 0ebd4b4e530f2cbda216a13b5cdd6d38c73c3399 | |
parent | 26bddf1ef82c09f09258061379b7ef1d6e45804c (diff) | |
download | mongo-66a1e6d1ed48c4375e9057a260d7adffb2738d18.tar.gz |
fix compile warning MINOR
-rw-r--r-- | dbtests/repltests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/repltests.cpp b/dbtests/repltests.cpp index 25d79a70efb..1f63fb2f0a2 100644 --- a/dbtests/repltests.cpp +++ b/dbtests/repltests.cpp @@ -678,13 +678,13 @@ namespace ReplTests { insert( BSON( "_id" << 1 << "a" << 11 ) ); insert( BSON( "_id" << 3 << "a" << 10 ) ); client()->remove( ns(), BSON( "a" << 10 ) ); - ASSERT_EQUALS( 1, client()->count( ns(), BSONObj() ) ); + ASSERT_EQUALS( 1U, client()->count( ns(), BSONObj() ) ); insert( BSON( "_id" << 0 << "a" << 11 ) ); insert( BSON( "_id" << 2 << "a" << 10 ) ); insert( BSON( "_id" << 3 << "a" << 10 ) ); applyAllOperations(); - ASSERT_EQUALS( 2, client()->count( ns(), BSONObj() ) ); + ASSERT_EQUALS( 2U, client()->count( ns(), BSONObj() ) ); ASSERT( !one( BSON( "_id" << 1 ) ).isEmpty() ); ASSERT( !one( BSON( "_id" << 2 ) ).isEmpty() ); } |