tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc RC scripts



On Mon, 19 Oct 2009 03:58:42 +0100
Alistair Crooks <agc%pkgsrc.org@localhost> wrote:

> On Sun, Oct 18, 2009 at 10:54:33PM -0400, Matthew Mondor wrote:
> > while (isspace((int)*value))
> >         value++;
> 
> I'm missing why you would bother casting to (int) in the ctype
> macro arg here.

with -Wall:

warning: array subscript has type 'char'
-- 
Matt


Home | Main Index | Thread Index | Old Index