ICU-3222 Fix a compiler warning

X-SVN-Rev: 13157
This commit is contained in:
George Rhoten 2003-09-22 16:11:02 +00:00
parent c3b7d44c6c
commit 845e5ab92c
2 changed files with 4 additions and 3 deletions

View file

@ -746,4 +746,5 @@ Test_WCHART_LongString(){
/* close the bundle */
ures_close(theBundle);
}
}

View file

@ -1192,7 +1192,7 @@ void TimeZoneTest::TestCountries() {
void TimeZoneTest::TestHistorical() {
const int32_t H = U_MILLIS_PER_HOUR;
struct {
char* id;
const char* id;
int32_t time; // epoch seconds
int32_t offset; // total offset (millis)
} DATA[] = {
@ -1214,7 +1214,7 @@ void TimeZoneTest::TestHistorical() {
};
for (int32_t i=0; DATA[i].id!=0; ++i) {
char* id = DATA[i].id;
const char* id = DATA[i].id;
TimeZone *tz = TimeZone::createTimeZone(id);
UnicodeString s;
if (tz == 0) {