ICU-8602 Fix some compiler warnings.
X-SVN-Rev: 30231
This commit is contained in:
parent
38a2ac09cc
commit
c2bf97eb02
@ -594,7 +594,7 @@ static void TestConvert()
|
||||
if (!myConverter || U_FAILURE(err))
|
||||
{
|
||||
log_data_err("Error creating the ibm-949 converter - %s \n", u_errorName(err));
|
||||
fclose(ucs_file_name);
|
||||
fclose(ucs_file_in);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -3346,7 +3346,7 @@ TestToUCountPending(){
|
||||
}
|
||||
ucnv_setToUCallBack(cnv, UCNV_TO_U_CALLBACK_STOP, NULL, oldToUAction, NULL, &status);
|
||||
for(i=0; i<LENGTHOF(toUnicodeTests); ++i) {
|
||||
UChar tgt[10];
|
||||
UChar tgt[20];
|
||||
UChar* target = tgt;
|
||||
UChar* targetLimit = target + 20;
|
||||
const char* source = toUnicodeTests[i].input;
|
||||
|
@ -901,7 +901,7 @@ static uint32_t testSwitch(tst_strcoll* func, void *collator, int opts, uint32_t
|
||||
realResult = func(collator, opts, first, sLen, second, tLen);
|
||||
realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
|
||||
|
||||
if(strength == UCOL_IDENTICAL && realResult != UCOL_IDENTICAL) {
|
||||
if(strength == UCOL_IDENTICAL && realResult != UCOL_EQUAL) {
|
||||
logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_EQUAL, strength, error);
|
||||
diffs++;
|
||||
} else if(realResult != UCOL_LESS || realStrength != strength) {
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include "uarrsort.h"
|
||||
#include "uinvchar.h"
|
||||
#include "ustr_imp.h"
|
||||
|
||||
/*
|
||||
* Align binary data at a 16-byte offset from the start of the resource bundle,
|
||||
|
Loading…
Reference in New Issue
Block a user