change int to NSInteger

Needed change with xCode 4.6