summaryrefslogtreecommitdiff
path: root/libs/libjson/src/internalJSONNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libjson/src/internalJSONNode.h')
-rw-r--r--libs/libjson/src/internalJSONNode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libjson/src/internalJSONNode.h b/libs/libjson/src/internalJSONNode.h
index 5381d2fcdc..05f89b6220 100644
--- a/libs/libjson/src/internalJSONNode.h
+++ b/libs/libjson/src/internalJSONNode.h
@@ -290,7 +290,7 @@ inline json_string internalJSONNode::as_string(void) const {
inline CMString internalJSONNode::as_mstring(void) const {
Fetch();
- return CMString(ptrT(mir_utf8decodeT(_string.c_str())));
+ return CMString(ptrW(mir_utf8decodeW(_string.c_str())));
}
inline long internalJSONNode::as_int(void) const {