diff src/protocols/msn/slplink.c @ 10388:088633feb846

[gaim-migrate @ 11615] this makes gcc shut up about some warnings committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 16 Dec 2004 03:50:54 +0000
parents bbf738a0ce7b
children bcfea6c3d5c9
line wrap: on
line diff
--- a/src/protocols/msn/slplink.c	Thu Dec 16 02:51:14 2004 +0000
+++ b/src/protocols/msn/slplink.c	Thu Dec 16 03:50:54 2004 +0000
@@ -631,14 +631,14 @@
 
 #define MAX_FILE_NAME_LEN 0x226
 
-static char *
+static unsigned char *
 gen_context(const char *file_name, const char *file_path)
 {
 	struct stat st;
 	gsize size = 0;
 	MsnContextHeader header;
 	gchar *u8 = NULL;
-	gchar *base, *n;
+	guchar *base, *n;
 	gunichar2 *uni = NULL;
 	glong currentChar = 0;
 	glong uni_len = 0;
@@ -732,8 +732,8 @@
 						   const MsnObject *obj)
 {
 	MsnSlpCall *slpcall;
-	char *msnobj_data;
-	char *msnobj_base64;
+	unsigned char *msnobj_data;
+	unsigned char *msnobj_base64;
 
 	g_return_if_fail(slplink != NULL);
 	g_return_if_fail(obj     != NULL);