Subject: Re: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 04/11/2000 16:24:14
In article <200004111427.HAA16290@nb00.nas.nasa.gov>,
Simon Burge <simonb@netbsd.org> 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