mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19890
This commit is contained in:
parent
c92383f0a9
commit
b1b20ec190
2 changed files with 1 additions and 3 deletions
|
@ -2281,8 +2281,6 @@ void RBBIWordMonkey::setText(const UnicodeString &s) {
|
|||
|
||||
|
||||
int32_t RBBIWordMonkey::next(int32_t prevPos) {
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
|
||||
int p0, p1, p2, p3; // Indices of the significant code points around the
|
||||
// break position being tested. The candidate break
|
||||
// location is before p2.
|
||||
|
|
|
@ -1045,7 +1045,7 @@ static void writeStringInU8(FILE *out, const UnicodeString &s) {
|
|||
uint8_t bufForOneChar[10];
|
||||
UBool isError = FALSE;
|
||||
int32_t destIdx = 0;
|
||||
U8_APPEND(bufForOneChar, destIdx, sizeof(bufForOneChar), c, isError);
|
||||
U8_APPEND(bufForOneChar, destIdx, (int32_t)sizeof(bufForOneChar), c, isError);
|
||||
fwrite(bufForOneChar, 1, destIdx, out);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue