diff options
Diffstat (limited to 'plugins/CryptoPP/base16.cpp')
-rw-r--r-- | plugins/CryptoPP/base16.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CryptoPP/base16.cpp b/plugins/CryptoPP/base16.cpp index 110eea0a9c..ace113ff76 100644 --- a/plugins/CryptoPP/base16.cpp +++ b/plugins/CryptoPP/base16.cpp @@ -18,7 +18,7 @@ char *base16encode(const char *inBuffer, int count) { }
-char *base16decode(const char *inBuffer, int *count) {
+char *base16decode(const char *inBuffer, size_t *count) {
char *outBuffer = (char *) malloc(*count);
BYTE *outBufferPtr = (BYTE *) outBuffer;
@@ -54,9 +54,9 @@ char *base16decode(const char *inBuffer, int *count) { }
-char *base16decode(const char *inBuffer) {
-
- int count = (int)strlen(inBuffer);
+char *base16decode(const char *inBuffer)
+{
+ size_t count = strlen(inBuffer);
return base16decode(inBuffer, &count);
}
|