From 1af933de411877061b9ac72d09177cd2c0fd78d5 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 28 Jan 2015 16:53:59 +0100 Subject: [PATCH] Fix compilation on Windows. --- tester/log_collection_tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/log_collection_tester.c b/tester/log_collection_tester.c index 3260e3078..3b05a6346 100644 --- a/tester/log_collection_tester.c +++ b/tester/log_collection_tester.c @@ -196,7 +196,7 @@ time_t check_file(LinphoneCoreManager* mgr) { CU_ASSERT_TRUE( timediff <= 1 ); if( !(timediff <= 1) ){ - ms_error("time_curr: %ld, last_log: %ld timediff: %d", time_curr, last_log, timediff ); + ms_error("time_curr: %ld, last_log: %ld timediff: %u", (long int)time_curr, (long int)last_log, timediff ); } } // return latest time in file