Date: Mon, 29 Nov 1999 13:34:34 -0500 (EST) From: Bill Fumerola <billf@chc-chimes.com> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Martin Cracauer <cracauer@cons.org>, arch@freebsd.org Subject: Re: What to do about "subscript has type `char'" warnings? Message-ID: <Pine.BSF.4.10.9911291334090.59489-100000@jade.chc-chimes.com> In-Reply-To: <199911291930.LAA08250@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Nov 1999, Matthew Dillon wrote: > :b) or cast > : char *s = syntax[2]; > : string[(int)*s]; I would suggest using this option and I will be using this in some of my -Wall fixes I have in the pipeline. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" 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.10.9911291334090.59489-100000>