You have the -Wconversion flag on.

Sent from my iPhone

On Nov 24, 2009, at 6:47, Hans van der Meer <h.vanderm...@uva.nl> 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 generates the following warning: Passing argument 3 of 'countByEnumeratingWithState:objects:count' with different width due to prototype. [XCode 3.2.1 64-bit on 10.6.2]

What is happening? Am I doing something wrong here?

Hans van der Meer




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/clarkcox3%40gmail.com

This email sent to clarkc...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to