From 6bf5f2c02318f2fb2ba264985ea46d0e7fbd4597 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 10 Dec 2018 09:27:04 +0900 Subject: [PATCH] Fix mismatch between log format and actual parameter Change-Id: Ib0356649598e411ad6fad7cd2ef1bca515e2c1a3 --- src/SttFeedback.cpp | 4 ++-- src/w-input-emoticon.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/SttFeedback.cpp mode change 100755 => 100644 src/w-input-emoticon.cpp diff --git a/src/SttFeedback.cpp b/src/SttFeedback.cpp old mode 100755 new mode 100644 index ec7d91f..4a0a1d0 --- a/src/SttFeedback.cpp +++ b/src/SttFeedback.cpp @@ -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"); diff --git a/src/w-input-emoticon.cpp b/src/w-input-emoticon.cpp old mode 100755 new mode 100644 index 6c5c902..146e4b2 --- a/src/w-input-emoticon.cpp +++ b/src/w-input-emoticon.cpp @@ -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) { -- 2.7.4