summaryrefslogtreecommitdiff
path: root/tests/test_dom_modify.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-12-07 06:35:53 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-12-07 06:35:53 +0000
commit9b9a414ab63d896560dc501266100695b9704c06 (patch)
tree50a38064b70565fd61dcf31ad43dba56a0fee35b /tests/test_dom_modify.cpp
parent26444f90a986fbe3079c9e876e9ebe008dd9588a (diff)
Compatibility fixes (fixed warnings in gcc, msvc7, fixed errors in bcc, cw, msvc6)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@939 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_modify.cpp')
-rw-r--r--tests/test_dom_modify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp
index 8295c4c..620504a 100644
--- a/tests/test_dom_modify.cpp
+++ b/tests/test_dom_modify.cpp
@@ -1019,7 +1019,7 @@ TEST(dom_node_append_buffer_out_of_memory_buffer)
{
test_runner::_memory_fail_threshold = 32768 + 128;
- const char data[128] = {};
+ char data[128] = {0};
xml_document doc;
CHECK(doc.append_buffer(data, sizeof(data)).status == status_out_of_memory);