modify int to NSInteger

remove all warnning