delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/17/08:38:35

Message-ID: <394B71EC.ED924E8B@softhome.net>
Date: Sat, 17 Jun 2000 14:41:16 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Patch: sentinels for typedefs in headers
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10006161530230 DOT 8899-100000 AT acp3bf>
Reply-To: djgpp-workers AT delorie DOT com

Hans-Bernhard Broeker wrote:
> 
> On Fri, 16 Jun 2000, Laurynas Biveinis wrote:
> 
> > OK to install?
> 
> There's not really any need to change the WEOF definition. It can just as
> well stay as it is: (wint_t) -1 is the same as (wint_t) 0xffffffff,
> anyway, but the first version is more 'expressive', IMHO.

Yup, both are the one and the same, but I've replaced -1 with 0xffffffff
because if somebody looks at (wint_t)-1, it does not suggest that WEOF
is actually unsigned now. However that's a very minor difference.

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019