cast to fix warning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28560 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-08-28 05:02:24 +00:00
parent eafa573824
commit 55026bc7b3

View file

@ -205,7 +205,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
image = (NSImage*)[nameDict objectForKey: aName];
if (image == nil || [image _resource] == nil)
if (image == nil || [(id)image _resource] == nil)
{
NSString *ext;
NSString *path = nil;