ICU-1753 Fix for HP/UX CC compiler bug.

X-SVN-Rev: 7950
This commit is contained in:
George Rhoten 2002-03-12 19:10:28 +00:00
parent ed77825943
commit 8d18b336ec

View File

@ -1116,7 +1116,11 @@ UCATableHeader *ucol_assembleTailoringTable(UColTokenParser *src, UErrorCode *st
/* produce canonical closure */
UCollationElements* colEl = ucol_openElements(tempColl, NULL, 0, status);
enumStruct context = { t, tempColl, colEl, status };
enumStruct context;
context.t = t;
context.tempColl = tempColl;
context.colEl = colEl;
context.status = status;
u_enumCharTypes(_enumCategoryRangeClosureCategory, &context);
ucol_closeElements(colEl);