From owner-cvs-all Mon May 13 7:47:39 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8E2C237B4A3; Mon, 13 May 2002 07:36:45 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4DEYwu29981; Mon, 13 May 2002 07:34:58 -0700 (PDT) (envelope-from bde) Message-Id: <200205131434.g4DEYwu29981@freefall.freebsd.org> From: Bruce Evans Date: Mon, 13 May 2002 07:34:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 bios.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 bde 2002/05/13 07:34:48 PDT Modified files: sys/i386/i386 bios.c Log: Fixed a semantic error. va_arg(ap, u_short) is nonsense except on i386's with 16-bit ints, since u_short is promoted when it is passed to a varargs function. gcc now warns about this. We always pass small integers (this is well obuscated), so there are no conversion problems. Fixed a related style bug (bogus cast). Revision Changes Path 1.53 +5 -5 src/sys/i386/i386/bios.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message