Fix build warning in TV profile 82/164882/1
authorInHong Han <inhong1.han@samsung.com>
Thu, 21 Dec 2017 07:29:12 +0000 (16:29 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 21 Dec 2017 10:32:00 +0000 (10:32 +0000)
Change-Id: I37f2411eaa68dd23d29979fa33ed538d5b610ef8

ism/extras/efl_panel/isf_panel_efl.cpp
ism/extras/wayland_immodule/wayland_imcontext.c
ism/src/scim_utility.cpp

index b929407..8102f2a 100644 (file)
@@ -6143,7 +6143,7 @@ static Eina_Bool ise_check_pid_alive_timer(void *data)
     long int ime_pid = (long int)data;
 
     int status = aul_app_get_status_bypid(ime_pid);
-    LOGD("STATUS : %d %d", status, ime_pid);
+    LOGD("STATUS : %d %d", status, (int)ime_pid);
 
     /* If the status is not one of STATUS_LAUNCHING, STATUS_VISIBLE, STATUS_BG */
     if (status >= STATUS_DYING || status == -1) {
@@ -6562,7 +6562,7 @@ static void slot_run_helper (const String &uuid, const String &config, const Str
                 if (launched) {
                     long int ime_pid = aul_app_get_pid(uuid.c_str());
                     if (ime_pid > 0) {
-                        LOGD ("Register check_alive timer for pid : %d", ime_pid);
+                        LOGD ("Register check_alive timer for pid : %d", (int)ime_pid);
                         _ise_check_pid_alive_uuid = uuid;
                         _ise_check_pid_alive_timer = ecore_timer_add (_ise_check_pid_alive_time,
                             ise_check_pid_alive_timer, (void*)ime_pid);
index 80c9b16..2200898 100644 (file)
@@ -1703,7 +1703,7 @@ show_input_panel(Ecore_IMF_Context *ctx)
            ecore_imf_context_input_panel_return_key_type_get (ctx),
            ecore_imf_context_input_panel_return_key_disabled_get (ctx),
            ecore_imf_context_autocapital_type_get (ctx));
-    LOGD ("client_window : %#x, password mode : %d, prediction_allow : %d, mime_type : %s, input panel position x : %d, y : %d",
+    LOGD ("client_window : %#lx, password mode : %d, prediction_allow : %d, mime_type : %s, input panel position x : %d, y : %d",
            (unsigned long int)ecore_imf_context_client_window_get (ctx),
            (imcontext->content_hint & WL_TEXT_INPUT_CONTENT_HINT_SENSITIVE_DATA) ? 1 : 0,
            ecore_imf_context_prediction_allow_get (ctx),
index 002881c..ef08d1b 100644 (file)
@@ -1485,7 +1485,7 @@ void ISF_PROF_DEBUG_TIME_END (char const* format, char const* func, int line)
 
     etime = (_p_t1 - _p_t0) / (double) clktck;
 
-    printf (format, func, line);
+    printf (mzc_red "[Format:%s][Func:%s][Line:%d]" mzc_normal "\n", format, func, line);
     printf (mzc_red "[T:%ld][E:%f]" mzc_normal " ", _p_t1, etime);
 
     return;