From d7c9bdbce7beffdf499986e0261c821e362dc070 Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 15 Nov 2024 18:35:41 +0000 Subject: [PATCH] Fix nil to NULL --- Source/Additions/NSObject+GNUstepBase.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Additions/NSObject+GNUstepBase.m b/Source/Additions/NSObject+GNUstepBase.m index 25ce0d1c9..0e3c7b21a 100644 --- a/Source/Additions/NSObject+GNUstepBase.m +++ b/Source/Additions/NSObject+GNUstepBase.m @@ -295,7 +295,7 @@ handleExit() [exitLock lock]; for (l = exited; l != NULL; l = l->next) { - if (l->obj == anObject || (l->at != nil && *l->at == anObject)) + if (l->obj == anObject || (l->at != NULL && *l->at == anObject)) { [exitLock unlock]; [NSException raise: NSInvalidArgumentException