From 27c30d1b65285a3d3a9bdca1021e63f70004576b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 4 Mar 2012 19:37:26 -0500 Subject: [PATCH] Unit Tests - Fixed warning caused by misinterpretation of arguments, by coercion. --- test/json.t.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/json.t.cpp b/test/json.t.cpp index c83230e82..f21516f5f 100644 --- a/test/json.t.cpp +++ b/test/json.t.cpp @@ -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); }