Commit 76fa08f8 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] explicit cast NULL in EXPECT_EQ; some compilers bare NULL.

this fixes build failure reported at:
http://git.bind10.isc.org/~tester/builder//BIND10/20120825015000-Solaris10-sparc-Sunstudio/logs/build.out
parent 300c412c
......@@ -123,7 +123,8 @@ TEST_F(ZoneTableTest, findZone) {
EXPECT_EQ(result::NOTFOUND,
zone_table->findZone(Name("example.org")).code);
EXPECT_EQ(NULL, zone_table->findZone(Name("example.org")).zone_data);
EXPECT_EQ(static_cast<ZoneData*>(NULL),
zone_table->findZone(Name("example.org")).zone_data);
// there's no exact match. the result should be the longest match,
// and the code should be PARTIALMATCH.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment