summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vm86.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-08 09:47:47 +0000
committerbde <bde@FreeBSD.org>1998-06-08 09:47:47 +0000
commit566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9 (patch)
tree60516df8ad7a4fdc14c976a4578f7bf48ed75610 /sys/i386/include/vm86.h
parentfaa17713f8d56432bac81058b7e1d2596e19c5b1 (diff)
downloadFreeBSD-src-566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9.zip
FreeBSD-src-566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9.tar.gz
Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
Diffstat (limited to 'sys/i386/include/vm86.h')
-rw-r--r--sys/i386/include/vm86.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/vm86.h b/sys/i386/include/vm86.h
index 4489c40..d17a90a 100644
--- a/sys/i386/include/vm86.h
+++ b/sys/i386/include/vm86.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: vm86.h,v 1.4 1997/11/20 18:43:55 bde Exp $
+ * $Id: vm86.h,v 1.5 1998/03/23 19:52:57 jlemon Exp $
*/
#ifndef _MACHINE_VM86_H_
@@ -37,12 +37,12 @@ typedef union {
u_long r_ex;
struct {
u_short r_x;
- u_short :16;
+ u_int :16;
} r_w;
struct {
u_char r_l;
u_char r_h;
- u_short :16;
+ u_int :16;
} r_b;
} reg86_t;
OpenPOWER on IntegriCloud