From 7641acedacb28bf81e9681f951ea8352d821c3a3 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 13 Feb 2023 16:13:54 +0200 Subject: [PATCH] Wrong casting --- libc/ElfInterpreter/ld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/ElfInterpreter/ld.c b/libc/ElfInterpreter/ld.c index da467ec..5fd0d97 100644 --- a/libc/ElfInterpreter/ld.c +++ b/libc/ElfInterpreter/ld.c @@ -339,5 +339,5 @@ int ld_load(int argc, char *argv[], char *envp[]) IPC(IPC_DELETE, IPC_TYPE_MessagePassing, IPC_ID, 0, NULL, 0); // FreePages((uintptr_t)IPCBuffer, 1); <- The kernel will free the buffer for us - return *(uintptr_t *)IPCBuffer; + return *(int *)IPCBuffer; }