ICU-11365 Fix INT32_MAX and INT32_MIN build error on HP-UX

X-SVN-Rev: 36831
This commit is contained in:
Michael Ow 2014-12-09 19:38:39 +00:00
parent dacaa0d337
commit 22c2fcc8b2

View File

@ -1245,8 +1245,8 @@ void MeasureFormatTest::TestGroupingSeparator() {
return;
}
Measure ms[] = {
Measure(INT32_MAX, MeasureUnit::createYear(status), status),
Measure(INT32_MIN, MeasureUnit::createMonth(status), status),
Measure((int32_t)INT32_MAX, MeasureUnit::createYear(status), status),
Measure((int32_t)INT32_MIN, MeasureUnit::createMonth(status), status),
Measure(-987, MeasureUnit::createDay(status), status),
Measure(1362, MeasureUnit::createHour(status), status),
Measure(987, MeasureUnit::createMinute(status), status)};