I'm trying to initialize my BOOL variable to YES, but it gives me this warning .. not quite sure what to do .. it still works fine, but just wondering how I can get rid of the warning.
I have a variable initialization in a header like this
//. H
BOOL *removeActivityIndicator;
Then I try to set it as YES (this also I get a warning)
self.removeActivityIndicator = YES;
The warning reads:
incompatible integer with pointer conversion passing "BOOL" (aka 'signed char') to a parameter of type 'BOOL *' (it is also signed char * ')
source share