mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-3222 Fix a compiler warning
X-SVN-Rev: 13157
This commit is contained in:
parent
c3b7d44c6c
commit
845e5ab92c
2 changed files with 4 additions and 3 deletions
|
@ -746,4 +746,5 @@ Test_WCHART_LongString(){
|
|||
/* close the bundle */
|
||||
ures_close(theBundle);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue