summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2010-08-23 11:31:06 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-31 17:27:28 -0400
commit38da020af03d6fbc4ab7a8107039b8ccc193c118 (patch)
treeff621dd98bf1efd4d332210168b8a18053bb93ec
parent79b5c8023bb1b0328455035806c35d0065e4b024 (diff)
downloadmongo-38da020af03d6fbc4ab7a8107039b8ccc193c118.tar.gz
elim ambiguous call warning/error
-rw-r--r--db/clientcursor.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}