summaryrefslogtreecommitdiff
path: root/tests/test_unicode.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 06:13:10 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-06 06:13:10 +0000
commitfdc03d39abdeeeadc7e0d47b49462464ffa3cd85 (patch)
tree85aa7269e5861132898494984f415b430a19338d /tests/test_unicode.cpp
parent6e02258ef6fc8c99f949ba0ed7617d006725d3b5 (diff)
tests: Fixed compilation errors for BadaSDK
git-svn-id: http://pugixml.googlecode.com/svn/trunk@839 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_unicode.cpp')
-rw-r--r--tests/test_unicode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_unicode.cpp b/tests/test_unicode.cpp
index e01e031..c1a5533 100644
--- a/tests/test_unicode.cpp
+++ b/tests/test_unicode.cpp
@@ -34,7 +34,7 @@ TEST(as_wide_valid_astral)
}
else
{
- CHECK(b4.size() == 5 && b4[0] == 0xda1d && b4[1] == 0xde24 && b4[2] == L' ' && b4[3] == 0xdbc0 && b4[4] == 0xdfff);
+ CHECK(b4.size() == 5 && b4[0] == wchar_cast(0xda1d) && b4[1] == wchar_cast(0xde24) && b4[2] == L' ' && b4[3] == wchar_cast(0xdbc0) && b4[4] == wchar_cast(0xdfff));
}
}