Changed int to NSInteger to avoid iOS 7/64bit warnings

Hey, changed 'int' declarations to NSInteger to avoid iOS7/64bit warnings in Xcode 5