summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CryptoPP/src/base64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/src/base64.cpp b/plugins/CryptoPP/src/base64.cpp
index 24ead6eed2..9a855cdb8d 100644
--- a/plugins/CryptoPP/src/base64.cpp
+++ b/plugins/CryptoPP/src/base64.cpp
@@ -8,13 +8,13 @@ string base64encode(const string& buf)
string base64decode(const string& buf)
{
unsigned len;
- char *plain = (char*)mir_base64_decode(buf.data(), &len);
+ ptrA plain((char*)mir_base64_decode(buf.data(), &len));
return (plain == NULL) ? string() : string(plain, len);
}
string base64decode(const char *buf)
{
unsigned len;
- char *plain = (char*)mir_base64_decode(buf, &len);
+ ptrA plain((char*)mir_base64_decode(buf, &len));
return (plain == NULL) ? string() : string(plain, len);
}