From 83d4e4f2e18c3aacbdada4afca468b44c75f42f3 Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 21 Dec 2009 10:17:21 -0800 Subject: [PATCH] MINOR fix warning --- dbtests/querytests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbtests/querytests.cpp b/dbtests/querytests.cpp index 8956b3d6d20..d341ebe6ffd 100644 --- a/dbtests/querytests.cpp +++ b/dbtests/querytests.cpp @@ -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) ); } }