mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-3222 Fix some compiler warnings
X-SVN-Rev: 14017
This commit is contained in:
parent
2660646337
commit
8a44aa4a02
1 changed files with 2 additions and 3 deletions
|
@ -652,8 +652,7 @@ bidiClassLineFn(void *context,
|
|||
char *fields[][2], int32_t fieldCount,
|
||||
UErrorCode *pErrorCode) {
|
||||
char *s;
|
||||
uint32_t oldStart, start, limit, props32;
|
||||
int32_t value;
|
||||
uint32_t oldStart, start, limit, value, props32;
|
||||
UBool didSet;
|
||||
|
||||
/* get the code point range */
|
||||
|
@ -667,7 +666,7 @@ bidiClassLineFn(void *context,
|
|||
/* parse bidi class */
|
||||
s=trimTerminateField(fields[1][0], fields[1][1]);
|
||||
value=u_getPropertyValueEnum(UCHAR_BIDI_CLASS, s);
|
||||
if(value<0) {
|
||||
if((int32_t)value<0) {
|
||||
fprintf(stderr, "genprops error: unknown bidi class in DerivedBidiClass.txt field 1 at %s\n", s);
|
||||
exit(U_PARSE_ERROR);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue