From 74e144e261ab406133268813559831f07449f613 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 30 Oct 2003 02:07:31 +0000 Subject: [PATCH] Bug 222085 warning: initializer does not fit or is out of range: -1 r=darin sr=darin --- netwerk/dns/src/punycode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwerk/dns/src/punycode.c b/netwerk/dns/src/punycode.c index a90c3d5d670d..c6f3de0b20e4 100644 --- a/netwerk/dns/src/punycode.c +++ b/netwerk/dns/src/punycode.c @@ -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 ***/