From 41bb3f72c2fa8571a296e8c12be7595b440d49ce Mon Sep 17 00:00:00 2001 From: CaS Date: Fri, 7 Oct 2005 09:57:51 +0000 Subject: [PATCH] Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them to 'fix' cast to union with an 'id' member. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21783 72102866-910b-0410-8b05-ffd578937521 --- Source/gsc/GSContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/gsc/GSContext.m b/Source/gsc/GSContext.m index 97985b2..5d445f5 100644 --- a/Source/gsc/GSContext.m +++ b/Source/gsc/GSContext.m @@ -94,7 +94,7 @@ } while (0) #define ctxt_push(object, stack) \ - GSIArrayAddItem((GSIArray)stack, (GSIArrayItem)object) + GSIArrayAddItem((GSIArray)stack, (GSIArrayItem)((id)object)) /* Globally unique gstate number */ static unsigned int unique_index = 0;