[FIX] Convert int to NSInteger to avoid any problems in 64 bits archs