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/gui/trunk@21783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-10-07 09:57:51 +00:00
parent 8943b5d429
commit bd8fb5fc53
2 changed files with 6 additions and 6 deletions

View file

@ -3065,7 +3065,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
/*
* Set up 'previous' link in aView to point to us.
*/
GSIArraySetItemAtIndex(pKV(aView), (GSIArrayItem)self, 0);
GSIArraySetItemAtIndex(pKV(aView), (GSIArrayItem)((id)self), 0);
/*
* Tell our current 'next' view that we are no longer pointing to it.
@ -3094,7 +3094,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
/*
* Set up 'next' link to point to aView.
*/
GSIArraySetItemAtIndex(nKV(self), (GSIArrayItem)aView, 0);
GSIArraySetItemAtIndex(nKV(self), (GSIArrayItem)((id)aView), 0);
}
/**