From 5ae9046b7b3b0bccbd25ac6d7173c4c4452b08f2 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 4 Mar 2003 19:03:17 +0000 Subject: [PATCH] ICU-2704 Fix a compiler warning X-SVN-Rev: 11233 --- icu4c/source/common/uloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/common/uloc.c b/icu4c/source/common/uloc.c index a9255681e3..bc34b6afe4 100644 --- a/icu4c/source/common/uloc.c +++ b/icu4c/source/common/uloc.c @@ -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;