fix compile error

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16292 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2010-01-13 22:13:11 +00:00
parent 452b0bdeaa
commit 4fa2b2f487
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ static void calibrate_clock(void)
for (x = 0; x < 500; x++) { for (x = 0; x < 500; x++) {
avg = average_time(val, 100); 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)); diff = abs((int)(want - avg));
if (diff > 1500) { if (diff > 1500) {