Are those really always constant? Why not: NSCharacterSet *stopCharacters = [NSCharacterSet characterSetWithCharactersInString:@"< \t\n\r\x85\x0C\u2028\u2029"];
On Wed, Aug 28, 2013 at 3:26 PM, Dave <d...@looktowindward.com> wrote: > Hi, > > I am getting the following warning > > warning: format specifies type 'unsigned short' but the argument has type > 'int' [-Wformat] > > on this statement: > > NSCharacterSet *stopCharacters = [NSCharacterSet > characterSetWithCharactersInString:[NSString stringWithFormat:@"< > \t\n\r%C%C%C%C", 0x0085, 0x000C, 0x2028, 0x2029]]; > > What is the best way to fix this? > > Thanks a lot > Dave > > > _______________________________________________ > > 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: > > https://lists.apple.com/mailman/options/cocoa-dev/stephen.butler%40gmail.com > > This email sent to stephen.but...@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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com