[Freeciv-Dev] Re: enums
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On 6 Jan 2000, Falk Hueffner wrote:
> Markus Linnala <maage@xxxxxxxxx> writes:
>
> > Enums are unsigned, so no use to check flags > 0, as they clearly
> > always are.
>
> They're not; actually there are two C dialects, one with enums signed
> and one with enums unsigned, since the standard doesn't tell which is
> correct.
>
> Falk
Yeah, for some reason I have assumed them signed until now. Used negative
ones a lot when patching badly written code.
Caz
--
|
|