From: Wonnam Jang Date: Wed, 28 Jun 2017 04:57:17 +0000 (+0900) Subject: Fix dlog format argument error X-Git-Tag: accepted/tizen/unified/20170707.154745^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6de6690ccfd448cbefd579c34c74c55a6b5fa3c5;p=platform%2Fcore%2Fuifw%2Fstt.git Fix dlog format argument error Change-Id: I8c3f5d10d2b4dd3710b8578d59465336ba50b5dd Signed-off-by: Wonnam Jang --- diff --git a/common/stt_config_mgr.c b/common/stt_config_mgr.c index 11003a2..12fe905 100755 --- a/common/stt_config_mgr.c +++ b/common/stt_config_mgr.c @@ -1707,7 +1707,7 @@ int stt_config_mgr_add_time_info(int index, int event, const char* text, long st info->start_time = start_time; info->end_time = end_time; - SLOG(LOG_DEBUG, stt_tag(), "[DEBUG] inside stt_config_mgr_add_time_info: index(%d), text(%s), start time(%d), end_time(%d)", info->index, (NULL == info->text) ? "NULL" : info->text, info->start_time, info->end_time); + SLOG(LOG_DEBUG, stt_tag(), "[DEBUG] inside stt_config_mgr_add_time_info: index(%d), text(%s), start time(%ld), end_time(%ld)", info->index, (NULL == info->text) ? "NULL" : info->text, info->start_time, info->end_time); /* Add item to global list */ g_time_list = g_slist_append(g_time_list, info); diff --git a/common/stt_config_parser.c b/common/stt_config_parser.c index aba6692..3f192e5 100644 --- a/common/stt_config_parser.c +++ b/common/stt_config_parser.c @@ -868,7 +868,7 @@ int stt_parser_set_time_info(GSList* time_list) xmlNodePtr temp_node = NULL; - SLOG(LOG_DEBUG, stt_tag(), "[%d] i(%d) t(%s) s(%d) e(%d)", + SLOG(LOG_DEBUG, stt_tag(), "[%d] i(%d) t(%s) s(%ld) e(%ld)", data->index, data->event, data->text, data->start_time, data->end_time); temp_node = xmlNewNode(NULL, (const xmlChar*)STT_TAG_TIME_TEXT);