From a7cb382e123d2a5c3fe172f77e7b1d8092f9657f Mon Sep 17 00:00:00 2001 From: Christopher Rienzo Date: Wed, 10 Oct 2012 14:30:27 +0000 Subject: [PATCH] fix switch_core_sqldb.c compiler error on 32-bit debian --- src/switch_core_sqldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 49625f405e..7d57ba53af 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -1394,7 +1394,7 @@ static void *SWITCH_THREAD_FUNC switch_user_sql_thread(switch_thread_t *thread, for (i = 0; i < qm->numq; i++) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "REALLOC QUEUE %ld %d %d\n", - sql_len, + (long int)sql_len, i, switch_queue_size(qm->sql_queue[i]));