On 9/15/08 2:45 PM, Brett Powley said: >Second problem (which you'll see if you change the NSLog): counter is >unsigned, so it *never* "turns negative".
And gcc can catch these kinds of things! $ gcc-4.2 -framework Cocoa -std=c99 -Wall -Wextra ~/Desktop/test.m /Users/sean/Desktop/test.m: In function 'main': /Users/sean/Desktop/test.m:7: warning: comparison of unsigned expression >= 0 is always true Turn on those compiler warnings! :) -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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 [EMAIL PROTECTED]