diff options
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index ef27ab058..bd9480ce5 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -76,9 +76,9 @@ static char *safe_fgets(char *s, int size, FILE *stream) | |||
76 | 76 | ||
77 | #if ENABLE_FEATURE_WGET_AUTHENTICATION | 77 | #if ENABLE_FEATURE_WGET_AUTHENTICATION |
78 | /* Base64-encode character string and return the string. */ | 78 | /* Base64-encode character string and return the string. */ |
79 | static char *base64enc(unsigned char *p, char *buf, int len) | 79 | static char *base64enc(const unsigned char *p, char *buf, int len) |
80 | { | 80 | { |
81 | bb_uuencode(p, buf, len, bb_uuenc_tbl_base64); | 81 | bb_uuencode(buf, p, len, bb_uuenc_tbl_base64); |
82 | return buf; | 82 | return buf; |
83 | } | 83 | } |
84 | #endif | 84 | #endif |