On Wednesday, July 01, 2009, at 12:26PM, "David Blanton" <aired...@tularosa.net> wrote: > m_sources = [volumes stringsByAppendingPaths:[defaultManager >directoryContentsAtPath:volumes]]; > > the warning comes at the above line
Look at the Objective-C type for m_sources, and look at the Objective-C type returned by stringsByAppendingPaths:. You are assigning an NSArray to an NSMutableArray variable. The other way around would be okay, because every NSMutableArray is also an NSArray. But an NSArray is not necessarily an NSMutableArray. --Andy _______________________________________________ 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