Mercurial > pidgin
diff src/protocols/oscar/chatnav.c @ 10986:ecc0f22db510
[gaim-migrate @ 12822]
This gets rid of a fair number of signedness warnings with gcc4 -Wall
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 03:58:58 +0000 |
parents | 92cbf9713795 |
children | 1798ad0be460 |
line wrap: on
line diff
--- a/src/protocols/oscar/chatnav.c Thu Jun 09 02:22:36 2005 +0000 +++ b/src/protocols/oscar/chatnav.c Thu Jun 09 03:58:58 2005 +0000 @@ -67,9 +67,9 @@ /* detail level */ aimbs_put8(&fr->data, 0x01); - aim_tlvlist_add_raw(&tl, 0x00d3, strlen(name), name); - aim_tlvlist_add_raw(&tl, 0x00d6, strlen(charset), charset); - aim_tlvlist_add_raw(&tl, 0x00d7, strlen(lang), lang); + aim_tlvlist_add_string(&tl, 0x00d3, name); + aim_tlvlist_add_string(&tl, 0x00d6, charset); + aim_tlvlist_add_string(&tl, 0x00d7, lang); /* tlvcount */ aimbs_put16(&fr->data, aim_tlvlist_count(&tl));