From 2f5e6f894be929f2f2a9a92afcc2467aca3d8dec Mon Sep 17 00:00:00 2001 From: Sandrine Avakian Date: Thu, 16 Jun 2016 14:58:27 +0200 Subject: [PATCH] Fixing size_t printing error format. --- tools/auto_answer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/auto_answer.c b/tools/auto_answer.c index c150f24e9..8c1a890f5 100644 --- a/tools/auto_answer.c +++ b/tools/auto_answer.c @@ -189,8 +189,8 @@ int main(int argc, char *argv[]){ ms_usleep(50000); if (print_stats) { ms_message("*********************************"); - ms_message("*Current number of calls [%10i] *",ms_list_size(linphone_core_get_calls(lc))); - ms_message("*Number of calls until now [%10i] *",ms_list_size(linphone_core_get_call_logs(lc))); + ms_message("*Current number of calls [%10u] *",(unsigned int)ms_list_size(linphone_core_get_calls(lc))); + ms_message("*Number of calls until now [%10u] *",(unsigned int)ms_list_size(linphone_core_get_call_logs(lc))); ms_message("*********************************"); print_stats=FALSE; }