mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix compile error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16292 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
452b0bdeaa
commit
4fa2b2f487
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user