Fix mismatch between log format and actual parameter 32/194932/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 10 Dec 2018 00:27:04 +0000 (09:27 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 10 Dec 2018 00:27:04 +0000 (09:27 +0900)
Change-Id: Ib0356649598e411ad6fad7cd2ef1bca515e2c1a3

src/SttFeedback.cpp [changed mode: 0755->0644]
src/w-input-emoticon.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index f6ae7da..5bd6603
@@ -50,11 +50,11 @@ void SttFeedback::OnResult(
        // Normal result case : STT_RECOGNITION_TYPE_FREE
 
        if(results.size() < 1) {
-               PRINTFUNC(DLOG_ERROR, "Result size : %d", results.size());
+               PRINTFUNC(DLOG_ERROR, "Result size : %zu", results.size());
                vd.state = STT_STATE_VAL_NOT_RECOGNISED;
                set_animation_state(&vd);
        } else {
-               PRINTFUNC(DLOG_INFO, "Meaningful result : size (%d)", results.size());
+               PRINTFUNC(DLOG_INFO, "Meaningful result : size (%zu)", results.size());
 
                for(auto result : results) {
                        PRINTFUNC(DLOG_INFO, "Results");
old mode 100755 (executable)
new mode 100644 (file)
index 6c5c902..146e4b2
@@ -934,7 +934,7 @@ void _update_emoticon_items(void *data)
         if (first_it == NULL)
             first_it = it_emoticon_recent_group;
 
-        PRINTFUNC(DLOG_DEBUG, "size = %d", recent_emoji_list.size());
+        PRINTFUNC(DLOG_DEBUG, "size = %zu", recent_emoji_list.size());
 
         for (i=0;i < recent_emoji_list.size();i=i+3)
         {