Mercurial > pidgin
diff src/protocols/yahoo/yahoo_packet.c @ 11161:2e71eddc828b
[gaim-migrate @ 13249]
Small Yahoo! warning fixes.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 26 Jul 2005 04:49:50 +0000 |
parents | 45a0a07e8b25 |
children | f4e58e94ced3 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_packet.c Tue Jul 26 04:42:53 2005 +0000 +++ b/src/protocols/yahoo/yahoo_packet.c Tue Jul 26 04:49:50 2005 +0000 @@ -188,15 +188,15 @@ while (l) { struct yahoo_pair *pair = l->data; - guchar buf[100]; + gchar buf[100]; g_snprintf(buf, sizeof(buf), "%d", pair->key); - strcpy(data + pos, buf); + strcpy((char *)&data[pos], buf); pos += strlen(buf); data[pos++] = 0xc0; data[pos++] = 0x80; - strcpy(data + pos, pair->value); + strcpy((char *)&data[pos], pair->value); pos += strlen(pair->value); data[pos++] = 0xc0; data[pos++] = 0x80;