ICU-900 Fixed some compiler warnings

X-SVN-Rev: 7240
This commit is contained in:
George Rhoten 2001-12-01 00:32:29 +00:00
parent 208029e3a2
commit f55499cf92
2 changed files with 4 additions and 4 deletions

View file

@ -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){

View file

@ -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));
}