diff options
author | peter <peter@FreeBSD.org> | 2000-10-02 20:13:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-10-02 20:13:03 +0000 |
commit | c341f3044383e7debe8c0c6ff9f35b2635f410d3 (patch) | |
tree | 474c2a464cf9d1527fca6df9592fb4f013828c90 /sys/amd64 | |
parent | effa2801c61cd844177ae8f8b75b763d14bfea72 (diff) | |
download | FreeBSD-src-c341f3044383e7debe8c0c6ff9f35b2635f410d3.zip FreeBSD-src-c341f3044383e7debe8c0c6ff9f35b2635f410d3.tar.gz |
Fix a cosmetic sign problem on machines with 4G of ram.
0x00312000 - 0xe5fe7fff, 3855441920 bytes (4294859990 pages)
.. becomes
0x00314000 - 0xe5fe7fff, 3855433728 bytes (941268 pages)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 4fb4c45..355a0a9 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -286,7 +286,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, |