diff options
Diffstat (limited to 'tools/qa/cppunit')
-rw-r--r-- | tools/qa/cppunit/test_json_writer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qa/cppunit/test_json_writer.cxx b/tools/qa/cppunit/test_json_writer.cxx index 6d473e605497..d5c037801067 100644 --- a/tools/qa/cppunit/test_json_writer.cxx +++ b/tools/qa/cppunit/test_json_writer.cxx @@ -48,7 +48,7 @@ void JsonWriterTest::test1() aJson.put("oustring", OUString("val1")); aJson.put("ostring", OString("val2")); aJson.put("charptr", "val3"); - aJson.put("int", 12); + aJson.put("int", static_cast<sal_Int32>(12)); } std::unique_ptr<char, o3tl::free_delete> result(aJson.extractData()); |