Unit Tests

- Fixed warning caused by misinterpretation of arguments, by coercion.
This commit is contained in:
Paul Beckingham
2012-03-04 19:37:26 -05:00
parent 6d1e14ea3e
commit 27c30d1b65

View File

@@ -130,7 +130,8 @@ int main (int argc, char** argv)
try
{
json::value* root = json::parse (negative_tests[i]);
t.is (root, NULL, std::string ("negative: ") + negative_tests[i]);
t.is ((const char*) root, (const char*) NULL,
std::string ("negative: ") + negative_tests[i]);
}
catch (const std::string& e) { t.pass (e); }