summaryrefslogtreecommitdiff
path: root/tests/test_xpath_api.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 17:55:46 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 17:58:20 -0700
commitcff35dfa31cc1030e86d7f5d045d709b2fdd4506 (patch)
treecc7cd61cd9bc7a77956ecedd63cb29fcbb23afb2 /tests/test_xpath_api.cpp
parent873c8e50110348e3ccdb4627e994317522a47405 (diff)
tests: Fix MSVC6 compatibility
Apply the usual workaround for for scoping issues. Also fix integer conversion warning for BorlandC.
Diffstat (limited to 'tests/test_xpath_api.cpp')
-rw-r--r--tests/test_xpath_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_api.cpp b/tests/test_xpath_api.cpp
index 295bd95..bca22de 100644
--- a/tests/test_xpath_api.cpp
+++ b/tests/test_xpath_api.cpp
@@ -614,7 +614,7 @@ TEST(xpath_api_query_vector)
for (int i = 0; i < 10; ++i)
{
char_t expr[2];
- expr[0] = '0' + char_t(i);
+ expr[0] = char_t('0' + i);
expr[1] = 0;
qv.push_back(xpath_query(expr));