Date: Thu, 1 May 2003 17:43:08 +0200 From: Stefan Farfeleder <stefan@fafoe.dyndns.org> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> Cc: hackers@freebsd.org Subject: Re: incorrect enum warning? Message-ID: <20030501154307.GD568@wombat.fafoe> In-Reply-To: <20030501152432.GC34992@madman.celabo.org> References: <xzp7k9a67pf.fsf@flood.ping.uio.no> <20030501150713.GA34992@madman.celabo.org> <20030501152022.GC568@wombat.fafoe> <20030501152432.GC34992@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 01, 2003 at 10:24:32AM -0500, Jacques A. Vidrine wrote: > On Thu, May 01, 2003 at 05:20:22PM +0200, Stefan Farfeleder wrote: > > Because 0x80000000 > INT_MAX on 32-Bit architectures, 0x80000000 has > > You forgot to quote where INT_MAX is defined in the standard. 5.2.4.2.1 Sizes of integer types <limits.h> -- maximum value for an object of type int INT_MAX +32767 // 2^15 - 1 [where 32767 is the smallest legal value for INT_MAX] Regards, Stefan Farfeleder
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501154307.GD568>