diff --git a/Source/NSDeallocateObject.m b/Source/NSDeallocateObject.m index 37b78fbcf..404a26142 100644 --- a/Source/NSDeallocateObject.m +++ b/Source/NSDeallocateObject.m @@ -27,7 +27,7 @@ void NSDeallocateObject(NSObject *anObject) { if ((anObject!=nil) && CLS_ISCLASS(((id)anObject)->class_pointer)) { - NSZone z = [anObject zone]; + NSZone *z = [anObject zone]; ((id)anObject)->class_pointer = (void*) 0xdeadface; NSZoneFree (z, anObject); }