From 4fa2b2f4878a44a945f19360e103fd24c76b4ee9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 13 Jan 2010 22:13:11 +0000 Subject: [PATCH] fix compile error git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16292 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_time.c b/src/switch_time.c index ab2f03e711..9cdef46005 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -195,7 +195,7 @@ static void calibrate_clock(void) for (x = 0; x < 500; x++) { avg = average_time(val, 100); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Test: %ld Average: %ld Step: %d\n", val, avg, step); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Test: %ld Average: %ld Step: %d\n", (long)val, (long)avg, step); diff = abs((int)(want - avg)); if (diff > 1500) {