Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 07:34:48 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 bios.c
Message-ID:  <200205131434.g4DEYwu29981@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205131434.g4DEYwu29981>