diff options
Diffstat (limited to 'protocols/CurrencyRates/src/ImportExport.cpp')
-rw-r--r-- | protocols/CurrencyRates/src/ImportExport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CurrencyRates/src/ImportExport.cpp b/protocols/CurrencyRates/src/ImportExport.cpp index ff6408d476..f21843f1f3 100644 --- a/protocols/CurrencyRates/src/ImportExport.cpp +++ b/protocols/CurrencyRates/src/ImportExport.cpp @@ -316,7 +316,7 @@ bool handle_module(MCONTACT hContact, const TiXmlElement *pXmlModule) } else if (!mir_strcmpi(g_szXmlTypeBlob, sType)) { size_t bufLen; - mir_ptr<BYTE> buf((PBYTE)mir_base64_decode(sValue, &bufLen)); + mir_ptr<BYTE> buf((uint8_t*)mir_base64_decode(sValue, &bufLen)); if (buf) { dbs.value.pbVal = buf; dbs.value.cpbVal = (WORD)bufLen; |