im.pidgin.pidgin: f371b7eddb9b845c0eb7148611f00f1aabcd1326

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sat Jan 19 14:05:44 EST 2008


-----------------------------------------------------------------
Revision: f371b7eddb9b845c0eb7148611f00f1aabcd1326
Ancestor: cfe7d41cc3f84809ec35f2962b485dbaac4fd285
Author: rekkanoryo at pidgin.im
Date: 2008-01-19T04:17:44
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/yahoo/util.c

ChangeLog: 

Fix (hopefully) the last problem in this function.  Refs #3295.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/util.c	d4205f074414d85a7fdf646c9f56272bb1e15846
+++ libpurple/protocols/yahoo/util.c	6a72fcc2054413ee7791e5c5cc62b6b18f4bcce0
@@ -168,11 +168,11 @@ char *yahoo_convert_to_numeric(const cha
 {
 	GString *gstr = NULL;
 	char *retstr;
-	const char *p;
+	const unsigned char *p;
 
 	gstr = g_string_sized_new(strlen(str) * 6 + 1);
 
-	for (p = str; *p; p++) {
+	for (p = (unsigned char *)str; *p; p++) {
 		g_string_append_printf(gstr, "&#%u;", *p);
 	}
 


More information about the Commits mailing list