[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-stable
Subject: Re: /usr/include/machine/limits.h
From: "Bradley T. Hughes" <bhughes () trolltech ! com>
Date: 2000-11-04 14:29:43
[Download RAW message or body]
On Sat, 4 Nov 2000, Bradley T. Hughes wrote:
> when assigning SHRT_MIN to a short (ie. short foo = SHRT_MIN;) gcc
> complains:
>
> warning: overflow in implicit constant conversion
>
> SHRT_MIN is defined as (-0x7fff - 1) (seems pretty correct to me)...
actually... i miss counted f's :
#define SHRT_MIN (-0x7ffff - 1) /* min value for a short */
--
Bradley T. Hughes <bhughes@trolltech.com>
Trolltech AS - Waldemar Thranes gt. 98B N-0175 Oslo, Norway
Office: +47 21604892
Mobile: +47 92019781
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic