--- 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;