summaryrefslogtreecommitdiff
path: root/kalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kalloc.c')
-rw-r--r--kalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalloc.c b/kalloc.c
index d016090..0b22c91 100644
--- a/kalloc.c
+++ b/kalloc.c
@@ -34,11 +34,11 @@ void
kinit(void)
{
extern int end;
- unsigned mem;
+ uint mem;
char *start;
start = (char *) &end;
- start = (char *) (((unsigned)start + PAGE) & ~(PAGE-1));
+ start = (char *) (((uint)start + PAGE) & ~(PAGE-1));
mem = 256; // XXX
cprintf("mem = %d\n", mem * PAGE);
kfree(start, mem * PAGE);