qualify int32_t to avoid ambiguities in pack test