diff options
author | Evan Martin <martine@danga.com> | 2011-05-27 18:47:14 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-27 18:47:14 (GMT) |
commit | 0d4c9611aa6f8958cc2c7bf4355f46945d09c1a4 (patch) | |
tree | 02b09a20d5ecfcde0331522e2f304bd6d1f0640f | |
parent | 511613ce2552528c00719ca59c8b2411518f12db (diff) | |
download | Ninja-0d4c9611aa6f8958cc2c7bf4355f46945d09c1a4.zip Ninja-0d4c9611aa6f8958cc2c7bf4355f46945d09c1a4.tar.gz Ninja-0d4c9611aa6f8958cc2c7bf4355f46945d09c1a4.tar.bz2 |
use 0 for NULL in test to silence gcc 4.5 warning
-rw-r--r-- | src/build_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_test.cc b/src/build_test.cc index 01e60be..5610d47 100644 --- a/src/build_test.cc +++ b/src/build_test.cc @@ -55,7 +55,7 @@ TEST_F(PlanTest, Basic) { ASSERT_FALSE(plan_.more_to_do()); edge = plan_.FindWork(); - ASSERT_EQ(NULL, edge); + ASSERT_EQ(0, edge); } // Test that two outputs from one rule can be handled as inputs to the next. |