Re: different width in fastenumeration

2009-11-26 Thread David Duncan
On Nov 24, 2009, at 3:47 AM, Hans van der Meer wrote: > Doing NSDictionary *objects enumerate over its keys thus: > for ( id key in [objects allKeys] ) {} Keep in mind that regardless of what other errors you are getting, you don't actually need to do this. Iterating over a dictionary by defin

Re: different width in fastenumeration

2009-11-25 Thread Clark S. Cox III
You have the -Wconversion flag on. Sent from my iPhone On Nov 24, 2009, at 6:47, Hans van der Meer wrote: Doing NSDictionary *objects enumerate over its keys thus: for ( id key in [objects allKeys] ) {} According to the documentation allKeys returns a NSArray and NSArray's conform to NSFa

Re: different width in fastenumeration

2009-11-24 Thread Jens Alfke
On Nov 24, 2009, at 3:47 AM, Hans van der Meer wrote: > Doing NSDictionary *objects enumerate over its keys thus: > for ( id key in [objects allKeys] ) {} > According to the documentation allKeys returns a NSArray and NSArray's > conform to NSFastEnumeration. However on building this code gener

different width in fastenumeration

2009-11-24 Thread Hans van der Meer
Doing NSDictionary *objects enumerate over its keys thus: for ( id key in [objects allKeys] ) {} According to the documentation allKeys returns a NSArray and NSArray's conform to NSFastEnumeration. However on building this code generates the following warning: Passing argument 3 of 'count