Mercurial > pidgin
changeset 22155:a886e43210b1
Fix (hopefully) the last problem in this function. Refs #3295.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sat, 19 Jan 2008 04:17:44 +0000 |
parents | f577201bf30f |
children | b8bfd13ec479 |
files | libpurple/protocols/yahoo/util.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c Sat Jan 19 00:54:44 2008 +0000 +++ b/libpurple/protocols/yahoo/util.c Sat Jan 19 04:17:44 2008 +0000 @@ -168,11 +168,11 @@ { 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); }