Date: Mon, 8 Jul 2002 16:53:22 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/dump traverse.c Message-ID: <200207082353.g68NrMGF026189@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/07/08 16:53:22 PDT
Modified files:
sbin/dump traverse.c
Log:
Oops, the previous revision (1.22) introduced a potential alignment
issue, since the MAXBSIZE-sized buffers are accessed as arrays of
block pointers, but were declared as char[] arrays. Use a union to
avoid this, which also makes a number of casts unnecessary.
Pointed out by: bde
Reviewed by: bde
Revision Changes Path
1.23 +20 -15 src/sbin/dump/traverse.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207082353.g68NrMGF026189>
