ICU-4288 Fix some compiler warnings.

X-SVN-Rev: 17585
This commit is contained in:
George Rhoten 2005-05-11 21:06:51 +00:00
parent 53b208bc14
commit 7eec057106
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2004, International Business Machines Corporation and
* Copyright (c) 1997-2005, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
@ -1808,11 +1808,11 @@ static void TestShortString(void)
if(idFromSS != identifier) {
log_err("FD = %i, id didn't round trip. %08X vs %08X (%s)\n",
j, idFromSS, identifier, testCases[i]);
j, idFromSS, identifier, testCases[i].input);
}
if(strcmp(fromIDBuffer, fromIDRoundtrip)) {
log_err("FD = %i, SS didn't round trip. %s vs %s (%s)\n",
j, fromIDBuffer, fromIDRoundtrip, testCases[i]);
j, fromIDBuffer, fromIDRoundtrip, testCases[i].input);
}
}

View file

@ -1315,7 +1315,7 @@ static void TestAlias() {
for (i = 0; i < CONVERTERS_NAMES_LENGTH; ++i) {
const char* mapBack = ucnv_getAlias(CONVERTERS_NAMES[i].alias, 0, &status);
if(!mapBack) {
log_data_err("Couldn't get alias for %s. You probably have no data\n", CONVERTERS_NAMES[i]);
log_data_err("Couldn't get alias for %s. You probably have no data\n", CONVERTERS_NAMES[i].name);
continue;
}
if (0 != strcmp(mapBack, CONVERTERS_NAMES[i].name)) {