aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tasks/process.c')
-rw-r--r--src/kernel/tasks/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c
index ee657c4..8fd621d 100644
--- a/src/kernel/tasks/process.c
+++ b/src/kernel/tasks/process.c
@@ -186,7 +186,7 @@ struct process *process_make_new()
proc->regs.ds = 0x23;
proc->regs.ss = 0x23;
proc->regs.eip = no_entry;
- proc->cr3 = paging_make_dir();
+ proc->cr3 = (u32)paging_make_dir();
proc->pid = pid++;
return proc;
}
@@ -229,4 +229,4 @@ u32 uspawn(char *path)
log("Spawned");
process_force_switch();
return 0;
-} \ No newline at end of file
+}