# HG changeset patch
# User Ethan Blanton <elb@pidgin.im>
# Date 1073954637 0
# Node ID b00d7fe625961ca164488c32179cfbe704af9bcb
# Parent  55431e80a783972edba3aed651a6534eb81242eb
[gaim-migrate @ 8786]
ints is ints and chars is chars

committer: Tailor Script <tailor@pidgin.im>

diff -r 55431e80a783 -r b00d7fe62596 src/protocols/yahoo/yahoo.c
--- 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