ICU-3222 Fix some compiler warnings.

X-SVN-Rev: 14037
This commit is contained in:
George Rhoten 2003-12-08 19:30:01 +00:00
parent 3d17e5e3c7
commit 3a462c297f
2 changed files with 3 additions and 2 deletions

View File

@ -109,7 +109,7 @@ ICUNotifier::notifyChanged(void)
}
}
U_NAMESPACE_END;
U_NAMESPACE_END
/* UCONFIG_NO_SERVICE */
#endif

View File

@ -1561,7 +1561,8 @@ u_charFromName(UCharNameChoice nameChoice,
if (lower[0] == '<') {
if (nameChoice == U_EXTENDED_CHAR_NAME) {
if (lower[--i] == '>') {
for (--i; lower[i] && lower[i] != '-'; --i);
for (--i; lower[i] && lower[i] != '-'; --i) {
}
if (lower[i] == '-') { /* We've got a category. */
uint32_t cIdx;