fix up annoying signed/unsigned and mixed type errors
This commit is contained in:
parent
5e678873f9
commit
0cb6f35c33
9 changed files with 17 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue