--- parser3/src/lib/punycode/pa_punycode.c 2015/09/28 22:19:25 1.2 +++ parser3/src/lib/punycode/pa_punycode.c 2015/10/12 21:01:14 1.4 @@ -109,7 +109,7 @@ static char encode_digit (punycode_uint /* (uppercase). The behavior is undefined if bcp is not a */ /* basic code point. */ -#define flagged(bcp) ((punycode_uint)(bcp) - 65 < 26) +#define flagged(bcp) (unsigned char)((punycode_uint)(bcp) - 65 < 26) /* encode_basic(bcp,flag) forces a basic code point to lowercase */ /* if flag is zero, uppercase if flag is nonzero, and returns */