From aa3208af330ce91e3ef2ee8db41b8df2306b2a41 Mon Sep 17 00:00:00 2001 From: Alex <alexander3.stratford@live.uwe.ac.uk> Date: Mon, 2 Dec 2019 14:22:51 +0000 Subject: [PATCH] Fixed mising semicolon --- userprog/populate_stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userprog/populate_stack.c b/userprog/populate_stack.c index 7be8c7d..d353e7f 100644 --- a/userprog/populate_stack.c +++ b/userprog/populate_stack.c @@ -44,7 +44,7 @@ void populate_stack(void** stack_pointer, int argc, char** argv) { move_stack_pointer(*stack_pointer, 4); //Moves the stack pointer forwards 4 // TODO: Test if still required in later version - (*(uintptr_t **)(*stack_pointer)) = *stack_pointer + (*(uintptr_t **)(*stack_pointer)) = *stack_pointer; move_stack_pointer(*stack_pointer, -4); //Moves the stack pointer back 4 *(int *)(*stack_pointer) = argc; -- GitLab