]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/itrbnf.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / itrbnf.cpp
index fce7c5125856e3c24453d86af7b23714305d0d89..6b538245410feb333bd0bb722caa7a109fd599f5 100644 (file)
@@ -166,7 +166,7 @@ IntlTestRBNF::TestAPI() {
   // test clone
   {
     logln("Testing Clone");
-    RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone();
+    RuleBasedNumberFormat* rbnfClone = formatter->clone();
     if(rbnfClone != NULL) {
       if(!(*rbnfClone == *formatter)) {
         errln("Clone should be semantically equivalent to the original!");