Re: passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast [SOLVED]

2008-07-21 Thread Michael Swan
Aron & Ken, Yes thank you both that has been driving me crazy mostly because I knew it was something stupid like that. Thank you, Mike Swan "Change itself is not painful it is resistance to change that causes pain." ___ Cocoa-dev mailing list (C

Re: passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast

2008-07-21 Thread Ken Ferry
NSString *string = [NSString stringWithFormat:(@"array count > = %i", [array count])]; // This gives the warning "passing argument 1 of > 'stringWithFormat:' makes pointer from integer without a cast" > > > Has something happened to NSString to

Re: passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast

2008-07-21 Thread Aron Nopanen
= %i",[array count]); // This works just fine NSString *string = [NSString stringWithFormat:(@"array count = %i", [array count])]; // This gives the warning "passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast" Has something ha

passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast

2008-07-21 Thread Michael Swan
= %i", [array count])]; // This gives the warning "passing argument 1 of 'stringWithFormat:' makes pointer from integer without a cast" Has something happened to NSString to mess it up or am I just missing something really obvious here? Thanks, Mike Swan "Cha