ICU-535 Fixed compiler warnings

X-SVN-Rev: 3144
This commit is contained in:
Ram Viswanadha 2000-12-06 00:48:11 +00:00
parent ce06834312
commit de8fd42158
2 changed files with 3 additions and 3 deletions

View file

@ -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] :

View file

@ -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){