Fixing warnings related to NSInteger