From: Jihoon Kim Date: Wed, 7 Aug 2019 04:46:04 +0000 (+0900) Subject: Fix build error in 64bit architecture X-Git-Tag: accepted/tizen/unified/20190807.111802~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30d57c6fcafd15a249dc735f2e15e5d251c4adec;p=platform%2Fcore%2Fuifw%2Fise-default.git Fix build error in 64bit architecture Change-Id: I2784feafd8dd5e2ae95a0dcfbed29c063d36eebe Signed-off-by: Jihoon Kim --- diff --git a/src/option.cpp b/src/option.cpp index ca55246..a4c6345 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -1400,7 +1400,7 @@ static void set_popup_message(Evas_Object *obj, const char *content_fmt, int con static void popup_lang_changed(void *data, Evas_Object *obj, void *event_info) { const char *content_fmt = (const char *)evas_object_data_get(obj, "fmt"); - int content_data = (int)evas_object_data_get(obj, "data"); + int content_data = (int)reinterpret_cast(evas_object_data_get(obj, "data")); set_popup_message(obj, content_fmt, content_data); } @@ -1417,7 +1417,7 @@ static void language_view_popup_show(Evas_Object *obj, SCLOptionWindowType type, elm_object_style_set(option_elements[type].lang_popup, "circle"); #endif evas_object_data_set(option_elements[type].lang_popup, "fmt", content_fmt); - evas_object_data_set(option_elements[type].lang_popup, "data", (void *)content_data); + evas_object_data_set(option_elements[type].lang_popup, "data", (void *)(unsigned long int)content_data); set_popup_message(option_elements[type].lang_popup, content_fmt, content_data); evas_object_smart_callback_add(option_elements[type].lang_popup, "language,changed", popup_lang_changed, NULL);