diff options
Diffstat (limited to 'plugins/CryptoPP/src/base64.cpp')
-rw-r--r-- | plugins/CryptoPP/src/base64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/base64.cpp b/plugins/CryptoPP/src/base64.cpp index 7495dd234f..92f23ba64b 100644 --- a/plugins/CryptoPP/src/base64.cpp +++ b/plugins/CryptoPP/src/base64.cpp @@ -11,7 +11,7 @@ string base64encode(const string buf) }
-char *base64encode(const char *inBuffer, const int count) {
+char *base64encode(const char *inBuffer, const size_t count) {
int srcIndex = 0, destIndex = 0, remainder = count % 3;
char *outBuffer = (char *) malloc(count*2+1);
|