From: Christopher Rienzo Date: Wed, 10 Oct 2012 14:30:27 +0000 (+0000) Subject: fix switch_core_sqldb.c compiler error on 32-bit debian X-Git-Tag: v1.3.0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7cb382e123d2a5c3fe172f77e7b1d8092f9657f;p=thirdparty%2Ffreeswitch.git fix switch_core_sqldb.c compiler error on 32-bit debian --- 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]));