comparison libpurple/protocols/oscar/oscar.c @ 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 5884388dfd06
children 8dc749893b7b 8e9b04071e79
comparison
equal deleted inserted replaced
30778:1f27c33f2fb1 30779:605155d68812
3012 } 3012 }
3013 } break; 3013 } break;
3014 3014
3015 case 0x1a: { /* Handle SMS or someone has sent you a greeting card or requested buddies? */ 3015 case 0x1a: { /* Handle SMS or someone has sent you a greeting card or requested buddies? */
3016 ByteStream qbs; 3016 ByteStream qbs;
3017 int smstype, taglen, smslen; 3017 guint16 smstype;
3018 guint32 taglen, smslen;
3018 char *tagstr = NULL, *smsmsg = NULL; 3019 char *tagstr = NULL, *smsmsg = NULL;
3019 xmlnode *xmlroot = NULL, *xmltmp = NULL; 3020 xmlnode *xmlroot = NULL, *xmltmp = NULL;
3020 gchar *uin = NULL, *message = NULL; 3021 gchar *uin = NULL, *message = NULL;
3021 3022
3022 /* From libicq2000-0.3.2/src/ICQ.cpp */ 3023 /* From libicq2000-0.3.2/src/ICQ.cpp */