about summary refs log tree commit diff stats
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base64.h b/base64.h
index 22b00fb..c700c7f 100644
--- a/base64.h
+++ b/base64.h
@@ -25,13 +25,13 @@ unsigned int b64d_size(unsigned int in_size);
 // in_len : number of bytes to be encoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives null-terminated string
 // returns size of output including null byte
-unsigned int b64_encode(const unsigned int* in, unsigned int in_len, unsigned char* out);
+unsigned int b64_encode(const unsigned char* in, unsigned int in_len, unsigned char* out);
 
 // in : buffer of base64 string to be decoded.
 // in_len : number of bytes to be decoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives "raw" binary
 // returns size of output excluding null byte
-unsigned int b64_decode(const unsigned char* in, unsigned int in_len, unsigned int* out);
+unsigned int b64_decode(const unsigned char* in, unsigned int in_len, unsigned char* out);
 
 // file-version b64_encode
 // Input : filenames