From 5dc5f50d463e637dc04070e80b7aec614c5354c9 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Fri, 15 Jun 2012 12:32:33 -0500 Subject: [PATCH] UNIX main: don't set int to NULL --- SheepShaver/src/Unix/main_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index af465ad2..7b6e617f 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -1201,7 +1201,7 @@ static void kernel_data_exit(void) shmdt(Mac2HostAddr(KERNEL_DATA_BASE & -SHMLBA)); shmdt(Mac2HostAddr(KERNEL_DATA2_BASE & -SHMLBA)); shmctl(kernel_area, IPC_RMID, NULL); - kernel_area = NULL; + kernel_area = -1; } }