mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19442
This commit is contained in:
parent
9dd557b1ae
commit
bbb82912ca
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 2001-2005, International Business Machines
|
||||
* Copyright (C) 2001-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Date Name Description
|
||||
|
@ -58,9 +58,10 @@ U_CDECL_END
|
|||
NameUnicodeTransliterator::NameUnicodeTransliterator(UnicodeFilter* adoptedFilter) :
|
||||
Transliterator(UNICODE_STRING("Name-Any", 8), adoptedFilter) {
|
||||
|
||||
UnicodeSet *legalPtr = &legal;
|
||||
// Get the legal character set
|
||||
USetAdder sa = {
|
||||
(USet *)&legal, // USet* == UnicodeSet*
|
||||
(USet *)legalPtr, // USet* == UnicodeSet*
|
||||
_set_add,
|
||||
_set_addRange,
|
||||
_set_addString,
|
||||
|
|
Loading…
Add table
Reference in a new issue