[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: casts
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Re: casts |
Date: |
Wed, 20 Oct 1999 05:40:08 -0400 (EDT) |
>
> On Tue, 19 Oct 1999, T.E.Dickey wrote:
>
> > it's two types because (like X windows) the code is nominally using default
> > type promotion in case someone overlooks a prototype. The int is used in
> > function arguments, and the char in data.
>
> We've come up with two completely different theories. :)
>
> Can you point to an example of what you mean? I don't really understand
> it.
It's not been well-maintained (there are exceptions), but that was my
impression when I would modify the code to fix compiler warnings - I
see more uses of BOOLEAN (char) as a return value than BOOL (defined)
as a parameter.
-- that sort of thing is why I don't bother using the narrow prototype
warning in gcc.
> Klaus
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey