summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-03 20:56:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-03 20:56:30 +0000
commitaaffa9428f7ad9e839b95f08cc7d3b64f48eaeb9 (patch)
treefc86c7c90fa83980a8adb41dd0aae6283ff4b61e /sys
parent96380ab95c7a7bc4bb40f847fe30cc128fab9ecb (diff)
make bios_geometry unsigned to avoid sign extension
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/biosvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index 4ff198446ec..3c55ac79f9e 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.13 1997/09/29 03:42:28 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.14 1997/10/03 20:56:29 deraadt Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -81,7 +81,7 @@
extern struct BIOS_vars {
/* XXX filled in assumption that last file opened is kernel */
int bios_dev;
- int bios_geometry;
+ u_int bios_geometry;
u_int bios_apm_detail;
u_int bios_apm_code32_base;