From 38da020af03d6fbc4ab7a8107039b8ccc193c118 Mon Sep 17 00:00:00 2001 From: Dwight Date: Mon, 23 Aug 2010 11:31:06 -0400 Subject: elim ambiguous call warning/error --- db/clientcursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/clientcursor.cpp b/db/clientcursor.cpp index c7ef60e0333..fde90ed4f8c 100644 --- a/db/clientcursor.cpp +++ b/db/clientcursor.cpp @@ -384,7 +384,7 @@ namespace mongo { void ClientCursor::appendStats( BSONObjBuilder& result ){ recursive_scoped_lock lock(ccmutex); result.appendNumber("totalOpen", clientCursorsById.size() ); - result.appendNumber("clientCursors_size", numCursors()); + result.appendNumber("clientCursors_size", (int) numCursors()); result.appendNumber("timedOut" , numberTimedOut); } -- cgit v1.2.1