Date: Wed, 27 Jan 1999 21:14:22 -0500 (EST) From: Alfred Perlstein <bright@hotjobs.com> To: Archie Cobbs <archie@whistle.com> Cc: Matthew Dillon <dillon@apollo.backplane.com>, current@FreeBSD.ORG Subject: Re: kern/subr_scanf array index of signed char Message-ID: <Pine.BSF.4.05.9901272113380.81323-100000@bright.fx.genx.net> In-Reply-To: <199901280204.SAA19979@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Jan 1999, Archie Cobbs wrote: > Matthew Dillon writes: > > - while (ccltab[*inp]) { > > + while (ccltab[(int)(unsigned char)*inp]) { > > Just curious.. why do you need the "(int)" cast? avoids a warning. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901272113380.81323-100000>