Use intmax_t and uintmax_t to increase compatiablity.