Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 1996 22:46:15 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        roberto@keltia.freenix.fr (Ollivier Robert)
Cc:        joerg@freefall.freebsd.org, andreas@marvin.RoBIN.de, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/1386
Message-ID:  <199607182046.WAA07905@uriah.heep.sax.de>
In-Reply-To: <199607181740.TAA15160@keltia.freenix.fr> from Ollivier Robert at "Jul 18, 96 07:40:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Ollivier Robert wrote:

> > Suggested fix applied in rev 1.3 of lpf.c.
> > (Btw, the patch was broken.  Please, don't cut&paste from xterm,
> > it botches the tabs.)
>  
> Why not just use an unsigned char instead of an int ?

Because this still remains the C programmer's error #1.

Think about it.  getc() returns an int.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607182046.WAA07905>