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
Родитель 12f8e6a2d1
Коммит 74e144e261
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 ***/