mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 222085 warning: initializer does not fit or is out of range: -1
r=darin sr=darin
This commit is contained in:
parent
12f8e6a2d1
commit
74e144e261
@ -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 ***/
|
||||
|
Loading…
x
Reference in New Issue
Block a user