Date: Sun, 02 Mar 2003 20:56:13 +0000 From: Mark Murray <mark@grondar.org> To: John Polstra <jdp@polstra.com> Cc: current@FreeBSD.ORG Subject: Re: PATCH: type errors in src-tree Message-ID: <200303022056.h22KuDIg055497@grimreaper.grondar.org> In-Reply-To: Your message of "Sun, 02 Mar 2003 09:56:17 PST." <200303021756.h22HuHJR005595@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra writes: > In article <xzpel5qc6nj.fsf@flood.ping.uio.no>, > Dag-Erling Smorgrav <des@ofug.org> wrote: > > > > This is wrong. caddr_t should be uniersally replaced with void *. > > Not quite. There is (or at least used to be) a lot of code that > assumed you could do address arithmetic on a caddr_t. You can't do > that on a void *, at least not in ANSI C. I think gcc lets you do > it, but it's an extension. As I have discovered. I specifically looked for this, and my misreading of the spec is now clear. :-) M -- Mark Murray iumop ap!sdn w,I idlaH 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?200303022056.h22KuDIg055497>