From 876caf41b7960372e18057723dac9c6dd039baab Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 26 Sep 2013 03:56:33 +0000 Subject: [PATCH] ICU-10446 late ibmi fixes to fix regression in r34369 X-SVN-Rev: 34487 --- icu4c/source/i18n/locdspnm.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/icu4c/source/i18n/locdspnm.cpp b/icu4c/source/i18n/locdspnm.cpp index b6f5cef1996..30fb17db63d 100644 --- a/icu4c/source/i18n/locdspnm.cpp +++ b/icu4c/source/i18n/locdspnm.cpp @@ -394,15 +394,15 @@ LocaleDisplayNamesImpl::initialize(void) { } format = new MessageFormat(pattern, status); if (pattern.indexOf((UChar)0xFF08) >= 0) { - formatOpenParen.setTo(0xFF08); // fullwidth ( - formatReplaceOpenParen.setTo(0xFF3B); // fullwidth [ - formatCloseParen.setTo(0xFF09); // fullwidth ) - formatReplaceCloseParen.setTo(0xFF3D); // fullwidth ] + formatOpenParen.setTo((UChar)0xFF08); // fullwidth ( + formatReplaceOpenParen.setTo((UChar)0xFF3B); // fullwidth [ + formatCloseParen.setTo((UChar)0xFF09); // fullwidth ) + formatReplaceCloseParen.setTo((UChar)0xFF3D); // fullwidth ] } else { - formatOpenParen.setTo(0x0028); // ( - formatReplaceOpenParen.setTo(0x005B); // [ - formatCloseParen.setTo(0x0029); // ) - formatReplaceCloseParen.setTo(0x005D); // ] + formatOpenParen.setTo((UChar)0x0028); // ( + formatReplaceOpenParen.setTo((UChar)0x005B); // [ + formatCloseParen.setTo((UChar)0x0029); // ) + formatReplaceCloseParen.setTo((UChar)0x005D); // ] } UnicodeString ktPattern;