Fix Xcode warning with implicit conversion from incoming long (NSNumber.integerValue) to int32_t values.