diff src/protocols/msn/httpconn.c @ 11137:096020ae09a9

[gaim-migrate @ 13201] Some more deworming. I mean, dewarning. I also realized that lots of glib uses guchar* instead of guint* for passing around bits of binary data, so I changed some stuff in util.c that I'd already changed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 21 Jul 2005 05:49:48 +0000
parents 56f1c92b943f
children e9d0d944b9d2
line wrap: on
line diff
--- a/src/protocols/msn/httpconn.c	Thu Jul 21 04:16:35 2005 +0000
+++ b/src/protocols/msn/httpconn.c	Thu Jul 21 05:49:48 2005 +0000
@@ -105,7 +105,7 @@
 	if (username != NULL) {
 		char *tmp;
 		auth = g_strdup_printf("%s:%s", username, password ? password : "");
-		tmp = gaim_base64_encode(auth, strlen(auth));
+		tmp = gaim_base64_encode((const guchar *)auth, strlen(auth));
 		g_free(auth);
 		auth = g_strdup_printf("Proxy-Authorization: Basic %s\r\n", tmp);
 		g_free(tmp);