Re: NSMakeSize and correct type

2009-03-12 Thread Ron Fleckner
On 12/03/2009, at 11:08 PM, Kevin Walzer wrote: Hello, I'm getting these gcc errors: macicon.m:29: error: incompatible type for argument 1 of ‘NSMakeSize’ macicon.m:29: error: incompatible type for argument 2 of ‘NSMakeSize’ [snip] -(int) makeIcon: (NSString *) filePath imagewidth: (float

Re: NSMakeSize and correct type

2009-03-12 Thread Graham Cox
On 12/03/2009, at 11:08 PM, Kevin Walzer wrote: -(int) makeIcon: (NSString *) filePath imagewidth: (float *) width imageheight: (float *)height outputfile:(NSString *)imagePath; @end @implementation MacIcon -(int) makeIcon: (NSString *) filePath imagewidth: (float *) width imageheight:

NSMakeSize and correct type

2009-03-12 Thread Kevin Walzer
Hello, I'm getting these gcc errors: macicon.m:29: error: incompatible type for argument 1 of ‘NSMakeSize’ macicon.m:29: error: incompatible type for argument 2 of ‘NSMakeSize’ I have tried using both float and CGFloat in the parameters, and I get the same complaint. Here is my code: @interf