ICU-3115 Fix a compiler warning caused by last modification

X-SVN-Rev: 13487
This commit is contained in:
George Rhoten 2003-10-24 18:50:05 +00:00
parent 1c3b6d22d0
commit 7dccac013f

View File

@ -683,7 +683,7 @@ static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r,
/* if there is no key, but there is an index, try to get by the index */
/* here we have either a table or an array, so get the element */
if(RES_GET_TYPE(r) == URES_TABLE || RES_GET_TYPE(r) == URES_TABLE32) {
r = res_getTableItemByIndex(&(mainRes->fResData), r, index, &aKey);
r = res_getTableItemByIndex(&(mainRes->fResData), r, index, (const char **)&aKey);
} else { /* array */
r = res_getArrayItem(&(mainRes->fResData), r, index);
}