Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 8087:b00d7fe62596
[gaim-migrate @ 8786]
ints is ints and chars is chars
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 13 Jan 2004 00:43:57 +0000 |
parents | 2c4cfb63ce60 |
children | d60272410bd5 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Tue Jan 13 00:03:27 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Jan 13 00:43:57 2004 +0000 @@ -874,12 +874,14 @@ { char *converted; char *p, *n, *new; + int i; n = new = g_malloc(strlen (text) + 1); for (p = (char *)text; *p; p++, n++) { if (*p == '\\') { - sscanf(p + 1, "%3o\n", (int *)n); + sscanf(p + 1, "%3o\n", &i); + *n = (char)i; p += 3; } else