Fix mismatch between log format and actual parameter 81/194781/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 7 Dec 2018 07:12:57 +0000 (16:12 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Fri, 7 Dec 2018 07:12:57 +0000 (16:12 +0900)
Change-Id: Icfe2b666525b4c5464873fefebbd1230e9dee893

src/ise-stt-mode.cpp
src/ise-stt-option.cpp
src/ise.cpp

index ea0e7a4..71e74c8 100644 (file)
@@ -450,7 +450,7 @@ void on_initial_anim_press_cb(void *data, Evas_Object *obj, const char *emission
 
     int tempVal = vd->sttmanager->GetCurrent();
     if (tempVal == STT_STATE_CREATED) {
-        LOGD("IGNORE TOUCH event before STT READY. STT is preparing", vd->state);
+        LOGD("IGNORE TOUCH event before STT READY. STT is preparing");
         return;
     }
 
index 729e4c5..c8f24b1 100644 (file)
@@ -348,7 +348,7 @@ static Evas_Object *create_language_list(Evas_Object *parent)
     item = item_append(genlist, itc_2text, (void *)0, language_set_genlist_radio_cb, genlist); // AUTO
 
     if (lang_val == i) {
-        LOGD("%d item is choiced.", i);
+        LOGD("%ld item is choiced.", i);
         elm_genlist_item_show(item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
 #ifdef _TV
         elm_object_item_focus_set(item, EINA_TRUE);
@@ -378,7 +378,7 @@ static Evas_Object *create_language_list(Evas_Object *parent)
         item = item_append(genlist, itc_1text, i, language_set_genlist_radio_cb, genlist);
 
         if (lang_val == i) {
-            LOGD("%d item is choiced.", i);
+            LOGD("%ld item is choiced.", i);
             elm_genlist_item_show(item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
 #ifdef _TV
             elm_object_item_focus_set(item, EINA_TRUE);
index d240d3f..1a9b13d 100644 (file)
@@ -532,7 +532,7 @@ ise_send_event(sclulong key_event, sclulong key_mask)
     ime_send_key_event((ime_key_code_e)key_event, IME_KEY_MASK_PRESSED, false);
     ime_send_key_event((ime_key_code_e)key_event, IME_KEY_MASK_RELEASED, false);
 
-    LOGD("ic : %x, %x\n", ic, key_event);
+    LOGD("ic : %x, %x\n", (unsigned int)ic, (unsigned int)key_event);
 }
 
 /**
@@ -548,7 +548,7 @@ ise_forward_key_event(sclulong key_event)
     ime_send_key_event((ime_key_code_e)key_event, IME_KEY_MASK_PRESSED, true);
     ime_send_key_event((ime_key_code_e)key_event, IME_KEY_MASK_RELEASED, true);
 
-    LOGD("ic : %x, %x\n", ic, key_event);
+    LOGD("ic : %x, %x\n", (unsigned int)ic, (unsigned int)key_event);
 }
 
 /**