summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/replsettests.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-11-06 13:16:01 -0500
committerEric Milkie <milkie@10gen.com>2012-11-06 13:16:13 -0500
commitca95a09c6f938db7c6ba69e8d5cac0eb378ddc79 (patch)
treede1d8e310eedb31cf270efa87c8cb4507356c0f3 /src/mongo/dbtests/replsettests.cpp
parent116af887d49190ebffbe2f4ad73e1275ee8c1d11 (diff)
downloadmongo-ca95a09c6f938db7c6ba69e8d5cac0eb378ddc79.tar.gz
fix compilation warning; NULL needs to be 0
Diffstat (limited to 'src/mongo/dbtests/replsettests.cpp')
-rw-r--r--src/mongo/dbtests/replsettests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/replsettests.cpp b/src/mongo/dbtests/replsettests.cpp
index d21632d519f..5fec56755d8 100644
--- a/src/mongo/dbtests/replsettests.cpp
+++ b/src/mongo/dbtests/replsettests.cpp
@@ -482,7 +482,7 @@ namespace ReplSetTests {
BSONObj filter = BSON("_id" << "asdfasdfasdf" << "sp" << BSON("$size" << 2));
// Test an op with no version, op is ignored and replication continues (code assumes
// version 1)
- addOp("u", BSON("$push" << BSON("sp" << 42)), &filter, NULL, NULL);
+ addOp("u", BSON("$push" << BSON("sp" << 42)), &filter, NULL, 0);
// The following line generates an fassert because it's version 2
//addOp("u", BSON("$push" << BSON("sp" << 42)), &filter, NULL, 2);
}