At 14:59 +0200 10 Jul 2002, Mij <[EMAIL PROTECTED]> 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     [EMAIL PROTECTED]      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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to