summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-29 11:51:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-29 11:51:45 +0300
commitc3ea082d06f26646de52113328a4c66bbdf8870d (patch)
treee39bef4973512a806f54dbb020c4cb332f0736b8 /protocols
parenta956289416dd69108ce3b26b1a6d7ec8627576f4 (diff)
compilation fix
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Discord/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index a39325b77e..7e346d4a71 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -65,7 +65,7 @@ __forceinline JSONNode& operator<<(JSONNode &json, const CHAR_PARAM &param)
__forceinline JSONNode& operator<<(JSONNode &json, const WCHAR_PARAM &param)
{
- json.push_back(JSONNode(param.szName, ptrA(mir_utf8encodeW(param.wszValue))));
+ json.push_back(JSONNode(param.szName, ptrA(mir_utf8encodeW(param.wszValue)).get()));
return json;
}