From 08109a4f163c4deb358d27dcf27783be8be2d7e4 Mon Sep 17 00:00:00 2001 From: nilspolek Date: Tue, 23 Jan 2024 22:49:23 +0100 Subject: [PATCH] changed stack size --- njvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/njvm.c b/njvm.c index 2da4f62..e80ba91 100644 --- a/njvm.c +++ b/njvm.c @@ -322,7 +322,7 @@ int main(int argc, char *argv[]) { int current = 0; stack.size = &size; stack.current = ¤t; - stack.stack = malloc(SIZE * 1024); + stack.stack = malloc(SIZE * 10024); // Initialize the registery int rSize = 1000;