From f4d06d7c8d7774d0d490efee0dc0dbc9d98dc3fd Mon Sep 17 00:00:00 2001 From: InHong Han Date: Thu, 21 Dec 2017 16:29:12 +0900 Subject: [PATCH] Fix build warning in TV profile Change-Id: I37f2411eaa68dd23d29979fa33ed538d5b610ef8 --- ism/extras/efl_panel/isf_panel_efl.cpp | 4 ++-- ism/extras/wayland_immodule/wayland_imcontext.c | 2 +- ism/src/scim_utility.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index b929407..8102f2a 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -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); diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 80c9b16..2200898 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -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), diff --git a/ism/src/scim_utility.cpp b/ism/src/scim_utility.cpp index 002881c..ef08d1b 100644 --- a/ism/src/scim_utility.cpp +++ b/ism/src/scim_utility.cpp @@ -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; -- 2.7.4