[Verification] Code compiles without error, TCT passrate 100%
Change-Id: Ie4cf9ed47eefda8cb968b8c18333ad4c6897f61f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
if (code.length() >= 3) {
std::unique_ptr<NumberFormat> nfmt(NumberFormat::createCurrencyInstance(l, ec));
if (U_ZERO_ERROR >= ec) {
- UChar currency[3] = {code[0], code[1], code[2]};
+ UChar currency[3] = {(unsigned char)code[0], (unsigned char)code[1], (unsigned char)code[2]};
nfmt->setCurrency(currency,ec);
if (U_ZERO_ERROR >= ec) {
icu::DecimalFormatSymbols dfs = DecimalFormatSymbols(l, ec);