fmtconvert: Explicitly use int32_t instead of int