Index: third_party/icu/source/test/intltest/loctest.cpp |
=================================================================== |
--- third_party/icu/source/test/intltest/loctest.cpp (revision 74230) |
+++ third_party/icu/source/test/intltest/loctest.cpp (working copy) |
@@ -1847,7 +1847,7 @@ |
if (U_FAILURE(ec)) { |
dataerrln("FAIL: NumberFormat::createInstance failed - %s", u_errorName(ec)); |
} else { |
- DecimalFormat* dec = dynamic_cast<DecimalFormat*>(nf); |
+ DecimalFormat* dec = CR_DYNAMIC_CAST<DecimalFormat*>(nf); |
if (dec == NULL) { |
errln("FAIL: NumberFormat::createInstance does not return a DecimalFormat"); |
return; |
@@ -1885,7 +1885,7 @@ |
if (df == 0){ |
dataerrln("Error calling DateFormat::createDateInstance()"); |
} else { |
- SimpleDateFormat* dat = dynamic_cast<SimpleDateFormat*>(df); |
+ SimpleDateFormat* dat = CR_DYNAMIC_CAST<SimpleDateFormat*>(df); |
if (dat == NULL) { |
errln("FAIL: DateFormat::createInstance does not return a SimpleDateFormat"); |
return; |