diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-30 10:26:34 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-30 10:26:34 -0400 |
commit | 96d7b5a19e8657725b89ce63a516274d22e6b165 (patch) | |
tree | 81e0cd4156e6a6065708a6dc6c8c14997dcc1638 | |
parent | 0e12d1012f489e38153ab43b16e9441c082ea805 (diff) | |
download | mongo-96d7b5a19e8657725b89ce63a516274d22e6b165.tar.gz |
fix warning
-rw-r--r-- | db/repl/replset_commands.cpp | 2 |
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 { |