mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7240
This commit is contained in:
parent
208029e3a2
commit
f55499cf92
2 changed files with 4 additions and 4 deletions
|
@ -1154,7 +1154,7 @@ UConverter_toUnicode_ISCII_OFFSETS_LOGIC(UConverterToUnicodeArgs *args,
|
|||
|
||||
data = (UConverterDataISCII*)(args->converter->extraInfo);
|
||||
contextCharToUnicode = &data->contextCharToUnicode; /* contains previous ISCII codepoint visited */
|
||||
toUnicodeStatus = &args->converter->toUnicodeStatus;/* contains the mapping to Unicode of the above codepoint*/
|
||||
toUnicodeStatus = (UChar32*)&args->converter->toUnicodeStatus;/* contains the mapping to Unicode of the above codepoint*/
|
||||
|
||||
while(source< args->sourceLimit){
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@ class TestReplaceable : public Replaceable {
|
|||
static const UChar defaultStyle;
|
||||
public:
|
||||
TestReplaceable (const UnicodeString& text,
|
||||
const UnicodeString& styles) {
|
||||
const UnicodeString& newStyles) {
|
||||
chars = text;
|
||||
UnicodeString s;
|
||||
for (int i = 0; i < text.length(); ++i) {
|
||||
if (i < styles.length()) {
|
||||
s.append(styles.charAt(i));
|
||||
if (i < newStyles.length()) {
|
||||
s.append(newStyles.charAt(i));
|
||||
} else {
|
||||
s.append((UChar)(i + 0x0041));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue