зеркало из https://github.com/mozilla/gecko-dev.git
Bug 222085 warning: initializer does not fit or is out of range: -1
r=darin sr=darin
This commit is contained in:
Родитель
12f8e6a2d1
Коммит
74e144e261
|
@ -82,7 +82,7 @@ static char encode_basic(punycode_uint bcp, int flag)
|
||||||
/*** Platform-specific constants ***/
|
/*** Platform-specific constants ***/
|
||||||
|
|
||||||
/* maxint is the maximum value of a punycode_uint variable: */
|
/* 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. */
|
/* Because maxint is unsigned, -1 becomes the maximum value. */
|
||||||
|
|
||||||
/*** Bias adaptation function ***/
|
/*** Bias adaptation function ***/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче