Bug 222085 warning: initializer does not fit or is out of range: -1

r=darin sr=darin
This commit is contained in:
timeless%mozdev.org 2003-10-30 02:07:31 +00:00
parent 12f8e6a2d1
commit 74e144e261

View File

@ -82,7 +82,7 @@ static char encode_basic(punycode_uint bcp, int flag)
/*** Platform-specific constants ***/
/* maxint is the maximum value of a punycode_uint variable: */
static const punycode_uint maxint = -1;
static const punycode_uint maxint = (punycode_uint) -1;
/* Because maxint is unsigned, -1 becomes the maximum value. */
/*** Bias adaptation function ***/