diff options
author | Eric Milkie <milkie@10gen.com> | 2012-11-06 13:16:01 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-11-06 13:16:13 -0500 |
commit | ca95a09c6f938db7c6ba69e8d5cac0eb378ddc79 (patch) | |
tree | de1d8e310eedb31cf270efa87c8cb4507356c0f3 /src/mongo/dbtests/replsettests.cpp | |
parent | 116af887d49190ebffbe2f4ad73e1275ee8c1d11 (diff) | |
download | mongo-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.cpp | 2 |
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); } |