From: Michael Jerris Date: Wed, 13 Jan 2010 22:13:11 +0000 (+0000) Subject: fix compile error X-Git-Tag: v1.0.6~762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa2b2f4878a44a945f19360e103fd24c76b4ee9;p=thirdparty%2Ffreeswitch.git fix compile error git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16292 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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) {