Change int to NSInteger to fix warnings.
Update build settings for Xcode 4.6
Fix last int/NSInteger warning.
Merge pull request #1 from 5sw/master

Fix all warnings