From e2a9e8224e94127cc73cf62ebfb2a8dfee078c0c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Aug 2013 08:32:02 +0000 Subject: compilation fix for Win32 config git-svn-id: http://svn.miranda-ng.org/main/trunk@5597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/json/libJSON.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mir_core/json') 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(); } -- cgit v1.2.3