mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-535 Fixed compiler warnings
X-SVN-Rev: 3144
This commit is contained in:
parent
ce06834312
commit
de8fd42158
2 changed files with 3 additions and 3 deletions
|
@ -3571,7 +3571,7 @@ getTrail:
|
|||
}
|
||||
if(targetUniChar==missingCharMarker){
|
||||
iterCount = (iterCount<3)? iterCount+1 : 0;
|
||||
myConverterData->fromUnicodeCurrentState=currentState=(StateEnumCN)(currentState<3)? currentState+1:0;
|
||||
myConverterData->fromUnicodeCurrentState=currentState=(StateEnum)(currentState<3)? currentState+1:0;
|
||||
currentState =(StateEnumCN) myConverterData->fromUnicodeCurrentState;
|
||||
myConverterData->fromUnicodeConverter = (myConverterData->fromUnicodeConverter == NULL) ?
|
||||
myConverterData->myConverterArray[0] :
|
||||
|
@ -3873,7 +3873,7 @@ getTrail:
|
|||
}
|
||||
if(targetUniChar==missingCharMarker){
|
||||
iterCount = (iterCount<3)? iterCount+1 : 0;
|
||||
myConverterData->fromUnicodeCurrentState=currentState=(StateEnumCN)(currentState<3)? currentState+1:0;
|
||||
myConverterData->fromUnicodeCurrentState=currentState=(StateEnum)(currentState<3)? currentState+1:0;
|
||||
currentState =(StateEnumCN) myConverterData->fromUnicodeCurrentState;
|
||||
myConverterData->fromUnicodeConverter = (myConverterData->fromUnicodeConverter == NULL) ?
|
||||
myConverterData->myConverterArray[0] :
|
||||
|
|
|
@ -588,7 +588,7 @@ static void concatEscape(UConverterFromUnicodeArgs* args, int32_t *targetIndex,
|
|||
}
|
||||
|
||||
static void concatString(UConverterFromUnicodeArgs* args, int32_t *targetIndex, int32_t *targetLength,
|
||||
const UChar32* strToAppend,UErrorCode* err, int32_t *sourceIndex){
|
||||
const uint32_t* strToAppend,UErrorCode* err, int32_t *sourceIndex){
|
||||
|
||||
if(*strToAppend < 0x00FF){
|
||||
if( (*targetIndex)+1 >= *targetLength){
|
||||
|
|
Loading…
Add table
Reference in a new issue