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

Re: wmappl

At 14:59 +0200 10 Jul 2002, Mij <mijio@mac.com> wrote:
> Did anyone try to compile wmappl-0.61 under debppc (sid)?
> I get errors like
> "rcparser.c:384: warning: comparison is always true due to limited range 
> of data type"
> Seeking code, it seems perfect && absolutely non-ambiguous.

It's storing the return value from fgetc() into a char variable.  This
is wrong, fgetc() is documented as returning an int (it needs to be able
to return any valid char or EOF, so a char isn't big enough).

Aaron Schrab     aaron@schrab.com      http://www.schrab.com/aaron/
 OS X: Because making Unix user-friendly was easier than debugging Windows
    -- Simon Slavin in a.f.c

To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: