mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4497 fix compiler warning
X-SVN-Rev: 17845
This commit is contained in:
parent
fb164eba5a
commit
0a7413ccd9
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ uprops_swap(const UDataSwapper *ds,
|
|||
}
|
||||
|
||||
/* the properties file must contain at least the indexes array */
|
||||
if(length>=0 && (length-headerSize)<sizeof(dataIndexes)) {
|
||||
if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) {
|
||||
udata_printError(ds, "uprops_swap(): too few bytes (%d after header) for a Unicode properties file\n",
|
||||
length-headerSize);
|
||||
*pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue