Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix compilation warning; NULL needs to be 0

  • Loading branch information...
commit b5ce59fb257b9708922137133f5b200e0ff94186 1 parent cfac2cb
Eric Milkie milkie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/mongo/dbtests/replsettests.cpp
2  src/mongo/dbtests/replsettests.cpp
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.