Date: Tue, 22 Feb 2011 13:52:03 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218946 - head/sys/boot/pc98/boot2 Message-ID: <201102221352.p1MDq35b010547@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nyan Date: Tue Feb 22 13:52:03 2011 New Revision: 218946 URL: http://svn.freebsd.org/changeset/base/218946 Log: MFi386: revision 218926 In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky Modified: head/sys/boot/pc98/boot2/boot2.c Modified: head/sys/boot/pc98/boot2/boot2.c ============================================================================== --- head/sys/boot/pc98/boot2/boot2.c Tue Feb 22 10:09:34 2011 (r218945) +++ head/sys/boot/pc98/boot2/boot2.c Tue Feb 22 13:52:03 2011 (r218946) @@ -134,7 +134,7 @@ static struct dsk { } dsk; static char cmd[512], cmddup[512]; static char kname[1024]; -static uint16_t opts; +static uint32_t opts; static int comspeed = SIOSPD; static struct bootinfo bootinfo; static uint8_t ioctrl = IO_KEYBOARD;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102221352.p1MDq35b010547>