Index: third_party/icu/source/i18n/coll.cpp |
=================================================================== |
--- third_party/icu/source/i18n/coll.cpp (revision 74230) |
+++ third_party/icu/source/i18n/coll.cpp (working copy) |
@@ -236,7 +236,7 @@ |
Locale desiredLocale(loc); |
Collator *col = (Collator*)gService->get(desiredLocale, *status); |
RuleBasedCollator *rbc; |
- if (col && (rbc = dynamic_cast<RuleBasedCollator *>(col))) { |
+ if (col && (rbc = CR_DYNAMIC_CAST<RuleBasedCollator *>(col))) { |
if (!rbc->dataIsOwned) { |
result = ucol_safeClone(rbc->ucollator, NULL, NULL, status); |
} else { |