From owner-cvs-all Mon Jul 8 16:53:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A13BC37B400; Mon, 8 Jul 2002 16:53:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49E0443E42; Mon, 8 Jul 2002 16:53:22 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g68NrMJU026190; Mon, 8 Jul 2002 16:53:22 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g68NrMGF026189; Mon, 8 Jul 2002 16:53:22 -0700 (PDT) Message-Id: <200207082353.g68NrMGF026189@freefall.freebsd.org> From: Ian Dowse Date: Mon, 8 Jul 2002 16:53:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/dump traverse.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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