summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>1999-06-10 02:48:51 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>1999-06-10 02:48:51 +0000
commit5a86dd8c6748413e7737801a8a7a341e93e2cf09 (patch)
tree9b99235ac174482a69fb600fcd74365d4c109ca7
parentcf2df276f97bbe8835c543d59227073e73345d77 (diff)
Notes
-rw-r--r--sys/amd64/amd64/machdep.c4
-rw-r--r--sys/i386/i386/machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 31c6fa20c4ce..4ed56d91e85e 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.338 1999/06/01 18:25:26 jlemon Exp $
+ * $Id: machdep.c,v 1.339 1999/06/01 23:45:46 jlemon Exp $
*/
#include "apm.h"
@@ -1377,7 +1377,7 @@ physmap_done:
* round up the start address and round down the end address.
*/
for (i = 0; i <= physmap_idx; i += 2) {
- int end;
+ vm_offset_t end;
end = ptoa(Maxmem);
if (physmap[i + 1] < end)
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 31c6fa20c4ce..4ed56d91e85e 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.338 1999/06/01 18:25:26 jlemon Exp $
+ * $Id: machdep.c,v 1.339 1999/06/01 23:45:46 jlemon Exp $
*/
#include "apm.h"
@@ -1377,7 +1377,7 @@ physmap_done:
* round up the start address and round down the end address.
*/
for (i = 0; i <= physmap_idx; i += 2) {
- int end;
+ vm_offset_t end;
end = ptoa(Maxmem);
if (physmap[i + 1] < end)