From ae22ac4a96614f9514e7b797af18f9e086ead723 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Fri, 2 Feb 2018 13:59:24 +0900 Subject: [PATCH] Fix build error for ICU 59 Change-Id: I3cb08b16978e3d3dfe86089e77c6422dd44280df Signed-off-by: Hyunjee Kim --- src/utils_i18n_timezone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_i18n_timezone.cpp b/src/utils_i18n_timezone.cpp index bec85fb..1b582bb 100755 --- a/src/utils_i18n_timezone.cpp +++ b/src/utils_i18n_timezone.cpp @@ -206,7 +206,7 @@ int i18n_timezone_create_default(i18n_timezone_h *timezone) char* zoneInfo = NULL; UnicodeString TimezoneID; ((TimeZone *) *timezone)->getID(TimezoneID); - const UChar *tid = TimezoneID.getTerminatedBuffer(); + const i18n_uchar *tid = (i18n_uchar *)TimezoneID.getTerminatedBuffer(); char tzpath[1024]; int32_t ret = (int32_t) readlink(TZDEFAULT, tzpath, sizeof(tzpath) - 1); if(ret > 0) -- 2.7.4