ICU-4220 Simplify adding a new process type, and fix some compiler warnings.

X-SVN-Rev: 17293
This commit is contained in:
George Rhoten 2005-03-08 16:25:50 +00:00
parent 611748c972
commit 7014790aec

View file

@ -1582,6 +1582,9 @@ parseResourceType(UErrorCode *status)
if (u_strcmp(tokenValue->fChars, k_type_int) == 0) {
result = RT_INTEGER;
}
else if (u_strcmp(tokenValue->fChars, k_type_bin) == 0) {
result = RT_BINARY;
}
else if (result == RT_RESERVED) {
char tokenBuffer[1024];
u_austrncpy(tokenBuffer, tokenValue->fChars, sizeof(tokenBuffer));