summaryrefslogtreecommitdiff
path: root/src/mir_core/json/libJSON.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-06 08:32:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-06 08:32:02 +0000
commite2a9e8224e94127cc73cf62ebfb2a8dfee078c0c (patch)
treebfb45d85f60c8428a425327ef8f7c3f3776e108f /src/mir_core/json/libJSON.cpp
parent7e0fe901cf2f2334c59eafffcdc85de3a02386ae (diff)
compilation fix for Win32 config
git-svn-id: http://svn.miranda-ng.org/main/trunk@5597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/json/libJSON.cpp')
-rw-r--r--src/mir_core/json/libJSON.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/json/libJSON.cpp b/src/mir_core/json/libJSON.cpp
index c8f7a0e3ff..ebba2f2fd4 100644
--- a/src/mir_core/json/libJSON.cpp
+++ b/src/mir_core/json/libJSON.cpp
@@ -276,8 +276,8 @@ MIR_CORE_DLL(json_char*) json_as_string(const JSONNODE * node){
return toCString(((JSONNode*)node) -> as_string());
}
-MIR_CORE_DLL(std::string) json_as_pstring(const JSONNODE * node){
- JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_as_string"), return toCString(EMPTY_CSTRING););
+MIR_C_CORE_DLL(std::string) json_as_pstring(const JSONNODE * node){
+ JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_as_string"), return EMPTY_CSTRING;);
return ((JSONNode*)node) -> as_string();
}