summaryrefslogtreecommitdiff
path: root/libs/filesystem/test/test_codecvt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/filesystem/test/test_codecvt.hpp')
-rw-r--r--libs/filesystem/test/test_codecvt.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/filesystem/test/test_codecvt.hpp b/libs/filesystem/test/test_codecvt.hpp
index 9ce8b75d1..666805ec1 100644
--- a/libs/filesystem/test/test_codecvt.hpp
+++ b/libs/filesystem/test/test_codecvt.hpp
@@ -44,7 +44,7 @@
wchar_t* to, wchar_t* to_end, wchar_t*& to_next) const
{
for (; from != from_end && to != to_end; ++from, ++to)
- *to = *from + 1;
+ *to = wchar_t(*from + 1);
if (to == to_end)
return error;
*to = L'\0';