aboutsummaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base64.c')
-rw-r--r--lib/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.c b/lib/base64.c
index f41a942cb..7ff8553f2 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -76,7 +76,7 @@ static void decodeQuantum(unsigned char *dest, const char *src)
* Given a base64 string at src, decode it into the memory pointed to by
* dest. Returns the length of the decoded data.
*/
-size_t Curl_base64_decode(char *dest, const char *src)
+size_t Curl_base64_decode(const char *src, char *dest)
{
int length = 0;
int equalsTerm = 0;