From f3b220ca4ebf5e3cef1f43e12aea82a78f341d1b Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 3 Oct 2014 02:40:11 +0000 Subject: tests: Fix MSVC6 compilation Also fixes PUGIXML_NO_STL compilation and makes it possible to build with any version of new Windows SDK. git-svn-id: https://pugixml.googlecode.com/svn/trunk@1044 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_dom_modify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_dom_modify.cpp') diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp index 2c53914..612b017 100644 --- a/tests/test_dom_modify.cpp +++ b/tests/test_dom_modify.cpp @@ -1,6 +1,7 @@ #include "common.hpp" #include +#include TEST_XML(dom_attr_assign, "") { @@ -1256,7 +1257,7 @@ TEST(dom_node_copy_stackless) data += STR("text"); - for (unsigned int i = 0; i < count; ++i) + for (unsigned int j = 0; j < count; ++j) data += STR(""); xml_document doc; -- cgit v1.2.3