Mercurial > pidgin.yaz
changeset 30779:605155d68812
Make these unsigned, in case someone figures out how to actually send
one of these and somehow manages to use a negative number. Pointed out
by Yuriy M. Kaminskiy. Thanks, Yuriy!
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 10 Aug 2010 07:04:02 +0000 |
parents | 1f27c33f2fb1 |
children | e59a86a86643 |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Tue Aug 10 06:58:03 2010 +0000 +++ b/libpurple/protocols/oscar/oscar.c Tue Aug 10 07:04:02 2010 +0000 @@ -3014,7 +3014,8 @@ case 0x1a: { /* Handle SMS or someone has sent you a greeting card or requested buddies? */ ByteStream qbs; - int smstype, taglen, smslen; + guint16 smstype; + guint32 taglen, smslen; char *tagstr = NULL, *smsmsg = NULL; xmlnode *xmlroot = NULL, *xmltmp = NULL; gchar *uin = NULL, *message = NULL;