ICU-2704 Fix a compiler warning

X-SVN-Rev: 11233
This commit is contained in:
George Rhoten 2003-03-04 19:03:17 +00:00
parent 6144e316e4
commit 5ae9046b7b

View File

@ -1313,7 +1313,7 @@ static void _lazyEvaluate_installedLocales()
UResourceBundle *index = NULL;
UResourceBundle installed;
UErrorCode status = U_ZERO_ERROR;
const char ** temp;
char ** temp;
int32_t i = 0;
int32_t localeCount;
@ -1327,7 +1327,7 @@ static void _lazyEvaluate_installedLocales()
ures_resetIterator(&installed);
while(ures_hasNext(&installed)) {
ures_getNextString(&installed, NULL, &temp[i++], &status);
ures_getNextString(&installed, NULL, (const char **)&temp[i++], &status);
}
temp[i] = NULL;