diff options
author | Eric Milkie <milkie@10gen.com> | 2012-11-06 13:16:01 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-11-06 16:24:01 -0500 |
commit | b5ce59fb257b9708922137133f5b200e0ff94186 (patch) | |
tree | daa2bc5daef60336e31b11759809a3c1cdfc70a2 | |
parent | cfac2cb0aa85b9d45deca4d658726999d232eefb (diff) | |
download | mongo-b5ce59fb257b9708922137133f5b200e0ff94186.tar.gz |
fix compilation warning; NULL needs to be 0
-rw-r--r-- | src/mongo/dbtests/replsettests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/replsettests.cpp b/src/mongo/dbtests/replsettests.cpp index c11114f2339..7b4acfead21 100644 --- a/src/mongo/dbtests/replsettests.cpp +++ b/src/mongo/dbtests/replsettests.cpp @@ -473,7 +473,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); } |