Permalink
Browse files

fix compilation warning; NULL needs to be 0

  • Loading branch information...
1 parent cfac2cb commit b5ce59fb257b9708922137133f5b200e0ff94186 @milkie milkie committed Nov 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit b5ce59f

Please sign in to comment.