Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc
In article <200004111427.HAA16290%nb00.nas.nasa.gov@localhost>,
Simon Burge <simonb%netbsd.org@localhost> wrote:
>
> Module Name: basesrc
> Committed By: simonb
> Date: Tue Apr 11 14:27:51 UTC 2000
>
> Modified Files:
> basesrc/lib/libcurses: acs.c
>
> Log Message:
> Cast array subscript to int - fixes compile barf on (at least) alpha.
It is better and more portable to cast it to unsigned char; in this
case it does not make a difference (because there is a check that
the char is > 0, but in general it is better practice.
christos
Home |
Main Index |
Thread Index |
Old Index