summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-30 10:26:34 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-30 10:26:34 -0400
commit96d7b5a19e8657725b89ce63a516274d22e6b165 (patch)
tree81e0cd4156e6a6065708a6dc6c8c14997dcc1638
parent0e12d1012f489e38153ab43b16e9441c082ea805 (diff)
downloadmongo-96d7b5a19e8657725b89ce63a516274d22e6b165.tar.gz
fix warning
-rw-r--r--db/repl/replset_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/replset_commands.cpp b/db/repl/replset_commands.cpp
index 538748867a6..e10568b3550 100644
--- a/db/repl/replset_commands.cpp
+++ b/db/repl/replset_commands.cpp
@@ -73,7 +73,7 @@ namespace mongo {
int getRBID(DBClientConnection *c) {
bo info;
c->simpleCommand("admin", &info, "replSetGetRBID");
- return info["rbid"].Number();
+ return info["rbid"].numberInt();
}
class CmdReplSetGetStatus : public ReplSetCommand {