build against latest 64 bit architect will see those warning

pable check
please use NSInteger instead