# HG changeset patch # User Mark Doliner # Date 1122353390 0 # Node ID 2e71eddc828b93b98c49be451f39b3ee539a51cb # Parent 3adcad067e5fa37569545379838bdf0ff27e0ea4 [gaim-migrate @ 13249] Small Yahoo! warning fixes. committer: Tailor Script diff -r 3adcad067e5f -r 2e71eddc828b src/protocols/yahoo/yahoo_packet.c --- 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;