ICU-10379 fixes for IBM i - passes all tests!

X-SVN-Rev: 34348
This commit is contained in:
Steven R. Loomis 2013-09-17 06:31:09 +00:00
parent 1f3a6bc750
commit f0dd9e78dc
3 changed files with 7 additions and 7 deletions

View file

@ -2290,7 +2290,7 @@ void CollationAPITest::TestIterNumeric() {
uiter_setUTF8(&iter40, "\x34\x30", 2);
uiter_setUTF8(&iter72, "\x37\x32", 2);
UCollationResult result = coll.compare(iter40, iter72, errorCode);
assertEquals("40<72", UCOL_LESS, result);
assertEquals("40<72", (int32_t)UCOL_LESS, (int32_t)result);
}
void CollationAPITest::dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status) {

View file

@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
* Copyright (c) 2007-2010, International Business Machines Corporation and
* Copyright (c) 2007-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
@ -9,8 +9,8 @@
#define UCLN_TYPE UCLN_CTESTFW
#include "ucln_imp.h"
int dummyFunction(void);
int dummyFunction(void)
int uprv_dummyFunction_CT(void);
int uprv_dummyFunction_CT(void)
{
/* this is here to prevent the compiler from complaining about an empty file */
return 0;

View file

@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
* Copyright (c) 2007-2010, International Business Machines Corporation and
* Copyright (c) 2007-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
@ -9,8 +9,8 @@
#define UCLN_TYPE UCLN_TOOLUTIL
#include "ucln_imp.h"
int dummyFunction(void);
int dummyFunction(void)
int uprv_dummyFunction_TU(void);
int uprv_dummyFunction_TU(void)
{
/* this is here to prevent the compiler from complaining about an empty file */
return 0;