aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-01-30 22:30:41 +0000
committerEric Andersen <andersen@codepoet.org>2006-01-30 22:30:41 +0000
commit0cb6f35c33a2a3fd390aaa36da72e0600f205918 (patch)
tree6f685077a27f04869b4f152cbe4287c023554afb /networking/wget.c
parent5e678873f9ff7c95d43b278feee547ce989b3b20 (diff)
downloadbusybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.gz
fix up annoying signed/unsigned and mixed type errors
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 9c7ed9f1d..6c6a8a7cf 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -332,11 +332,11 @@ int wget_main(int argc, char **argv)
#ifdef CONFIG_FEATURE_WGET_AUTHENTICATION
if (target.user) {
fprintf(sfp, "Authorization: Basic %s\r\n",
- base64enc(target.user, buf, sizeof(buf)));
+ base64enc((unsigned char*)target.user, buf, sizeof(buf)));
}
if (use_proxy && server.user) {
fprintf(sfp, "Proxy-Authorization: Basic %s\r\n",
- base64enc(server.user, buf, sizeof(buf)));
+ base64enc((unsigned char*)server.user, buf, sizeof(buf)));
}
#endif