How would I fix this warning in this if statement?
if ((NSUInt == nil) || (myInt == nil)) {
NSUInt = 0;
myInt = 0;
}
I get comparison between pointer and integer.
Thanks!
Edit: This seemed to fix it:
if ((!NSUInt) || (!myInt)) {
NSUInt = 0;
myInt = 0;
}
did you try simple !myInt instead of myInt==nil and !NSUInt instead of == 0?