Add cast to avoid bogus gcc-4.1 warning.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23125 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-07-04 20:27:04 +00:00
parent 23ecd0ac8e
commit 564d97ceed

View file

@ -331,8 +331,8 @@ GSFFIInvokeWithTargetAndImp(NSInvocation *_inv, id anObject, IMP imp)
{
GSMethod method;
method = GSGetMethod((GSObjCIsInstance(_target)
? GSObjCClass(_target)
: _target),
? (Class)GSObjCClass(_target)
: (Class)_target),
_selector,
GSObjCIsInstance(_target),
YES);