Date: Tue, 18 Feb 2003 20:55:02 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> Cc: Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org Subject: Re: memset prototype changed? Message-ID: <xzpznotwei1.fsf@flood.ping.uio.no> In-Reply-To: <20030218160442.GB81793@madman.celabo.org> ("Jacques A. Vidrine"'s message of "Tue, 18 Feb 2003 10:04:42 -0600") References: <20030218105240.GH92966@rot13.obsecurity.org> <xzpheb1yhrq.fsf@flood.ping.uio.no> <20030218160442.GB81793@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Jacques A. Vidrine" <nectar@FreeBSD.org> writes: > On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: > > The code that fails to compile is blatantly wrong: > > > > memset(schedule, 0, sizeof(schedule)); > I wouldn't say `blantantly'. The expressions `schedule' and > `&schedule' are equivalent when `schedule' is an array type. ...but Key_schedule is an opaque type, so it is not correct to assume it's an array. DES -- Dag-Erling Smorgrav - des@ofug.org 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?xzpznotwei1.fsf>