Index: third_party/icu/source/i18n/zstrfmt.cpp |
=================================================================== |
--- third_party/icu/source/i18n/zstrfmt.cpp (revision 74230) |
+++ third_party/icu/source/i18n/zstrfmt.cpp (working copy) |
@@ -1466,10 +1466,10 @@ |
// Check if the zone actually uses daylight saving time around the time |
TimeZone *tmptz = tz.clone(); |
BasicTimeZone *btz = NULL; |
- if (dynamic_cast<OlsonTimeZone *>(tmptz) != NULL |
- || dynamic_cast<SimpleTimeZone *>(tmptz) != NULL |
- || dynamic_cast<RuleBasedTimeZone *>(tmptz) != NULL |
- || dynamic_cast<VTimeZone *>(tmptz) != NULL) { |
+ if (CR_DYNAMIC_CAST<OlsonTimeZone *>(tmptz) != NULL |
+ || CR_DYNAMIC_CAST<SimpleTimeZone *>(tmptz) != NULL |
+ || CR_DYNAMIC_CAST<RuleBasedTimeZone *>(tmptz) != NULL |
+ || CR_DYNAMIC_CAST<VTimeZone *>(tmptz) != NULL) { |
btz = (BasicTimeZone*)tmptz; |
} |