Re: Block error
Re: Block error
- Subject: Re: Block error
- From: Greg Guerin <email@hidden>
- Date: Sat, 16 Jul 2011 11:10:16 -0700
Rick Mann wrote:
Test.m:38:0 Test.m:38: error: incompatible type returning 'void *',
expected 'struct Foo *'
I can work around it by not returning nil, but rather by returning
a nil class reference of type other than id.
Explicit type cast? E.g.:
return (Foo *) nil;
return (id) nil;
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden