ICU-2000 Fix some compiler warnings.

X-SVN-Rev: 10224
This commit is contained in:
George Rhoten 2002-11-12 01:37:48 +00:00
parent c0fb379e40
commit 1b8c614b0a
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ static void TestGetChar()
};
static UChar32 result[]={
/*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)*/
0xfca10000, 0xdc00, UTF_ERROR_VALUE,
(UChar32)0xfca10000, 0xdc00, UTF_ERROR_VALUE,
0x20ac, 0x20ac, 0x20ac,
0x12861, 0xd841, UTF_ERROR_VALUE,
0x61, 0x61, 0x61,

View File

@ -1669,8 +1669,8 @@ void CollationAPITest::TestBounds(void) {
void CollationAPITest::TestGetTailoredSet()
{
struct {
char *rules;
char *tests[20];
const char *rules;
const char *tests[20];
int32_t testsize;
} setTest[] = {
{ "&a < \\u212b", { "\\u212b", "A\\u030a", "\\u00c5" }, 3},