diff options
author | Dwight <dwight@10gen.com> | 2010-08-23 11:31:06 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-31 17:27:28 -0400 |
commit | 38da020af03d6fbc4ab7a8107039b8ccc193c118 (patch) | |
tree | ff621dd98bf1efd4d332210168b8a18053bb93ec | |
parent | 79b5c8023bb1b0328455035806c35d0065e4b024 (diff) | |
download | mongo-38da020af03d6fbc4ab7a8107039b8ccc193c118.tar.gz |
elim ambiguous call warning/error
-rw-r--r-- | db/clientcursor.cpp | 2 |
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); } |