diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-29 11:51:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-29 11:51:45 +0300 |
commit | c3ea082d06f26646de52113328a4c66bbdf8870d (patch) | |
tree | e39bef4973512a806f54dbb020c4cb332f0736b8 /protocols/Discord/src/proto.h | |
parent | a956289416dd69108ce3b26b1a6d7ec8627576f4 (diff) |
compilation fix
Diffstat (limited to 'protocols/Discord/src/proto.h')
-rw-r--r-- | protocols/Discord/src/proto.h | 2 |
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 ¶m) __forceinline JSONNode& operator<<(JSONNode &json, const WCHAR_PARAM ¶m) { - 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; } |