summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-10-03 13:27:31 +0000
committerkato <kato@FreeBSD.org>2000-10-03 13:27:31 +0000
commitf6a592b80b72774096535c31c02c37415e8ba8ee (patch)
treec9b0431eefdb7853d1b5910266f403c101d06366 /sys
parent42e3d092baad7027558e9c9e4861920f6a488df8 (diff)
downloadFreeBSD-src-f6a592b80b72774096535c31c02c37415e8ba8ee.zip
FreeBSD-src-f6a592b80b72774096535c31c02c37415e8ba8ee.tar.gz
Merged from sys/i386/i386/machdep.c revision 1.414.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 901cfd8..5835104 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -300,7 +300,7 @@ cpu_startup(dummy)
printf("Physical memory chunk(s):\n");
for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) {
- int size1 = phys_avail[indx + 1] - phys_avail[indx];
+ unsigned int size1 = phys_avail[indx + 1] - phys_avail[indx];
printf("0x%08x - 0x%08x, %u bytes (%u pages)\n",
phys_avail[indx], phys_avail[indx + 1] - 1, size1,
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 901cfd8..5835104 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -300,7 +300,7 @@ cpu_startup(dummy)
printf("Physical memory chunk(s):\n");
for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) {
- int size1 = phys_avail[indx + 1] - phys_avail[indx];
+ unsigned int size1 = phys_avail[indx + 1] - phys_avail[indx];
printf("0x%08x - 0x%08x, %u bytes (%u pages)\n",
phys_avail[indx], phys_avail[indx + 1] - 1, size1,
OpenPOWER on IntegriCloud