Fix integer precision warning

When building on x86_64, statusCode is not an int.  Using NSInteger here will work on all architectures.