From da4e32180a8d7ea4110d5442517b0db2e6b56443 Mon Sep 17 00:00:00 2001 From: Jungshik Shin Date: Mon, 8 Feb 2016 19:37:17 +0000 Subject: [PATCH] ICU-11937 cast Quantifier to UnicodeFunctor instead of UnicodeSet X-SVN-Rev: 38299 --- icu4c/source/i18n/rbt_pars.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/rbt_pars.cpp b/icu4c/source/i18n/rbt_pars.cpp index fadc3d21b24..a9561c01d9e 100644 --- a/icu4c/source/i18n/rbt_pars.cpp +++ b/icu4c/source/i18n/rbt_pars.cpp @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (C) 1999-2015, International Business Machines + * Copyright (C) 1999-2016, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -1102,7 +1102,7 @@ void TransliteratorParser::parseRules(const UnicodeString& rule, for (int32_t j = 0; j < data->variablesLength; j++) { data->variables[j] = - ((UnicodeSet*)variablesVector.elementAt(j)); + static_cast(variablesVector.elementAt(j)); } data->variableNames.removeAll(); -- 2.40.0