ICU-6916 Fixing compiler warnings on Linux/gcc.

X-SVN-Rev: 26427
This commit is contained in:
Yoshito Umaoka 2009-07-23 20:28:26 +00:00
parent b7828132aa
commit 71cc388673

View file

@ -1694,9 +1694,10 @@ ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* sta
*pSep = 0;
/* to title case */
*p++ = uprv_toupper(*p);
while (*p) {
*p++ = uprv_tolower(*p);
*p = uprv_toupper(*p);
p++;
for (; *p; p++) {
*p = uprv_tolower(*p);
}
t->script = pSubtag;