From c3ea082d06f26646de52113328a4c66bbdf8870d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Dec 2016 11:51:45 +0300 Subject: compilation fix --- protocols/Discord/src/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord') 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; } -- cgit v1.2.3