From: Michael Jerris Date: Wed, 15 Sep 2010 06:57:31 +0000 (-0400) Subject: FSBUILD-304: Fix compile error due to incorrect format specifier X-Git-Tag: v1.2-rc1~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283b7a85b825febf2bda0d650505d400816ab178;p=thirdparty%2Ffreeswitch.git FSBUILD-304: Fix compile error due to incorrect format specifier --- diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 5772e9f94d..b5b2ef29dc 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -920,7 +920,7 @@ static void *SWITCH_THREAD_FUNC switch_core_sql_thread(switch_thread_t *thread, if (new_mlen < runtime.max_sql_buffer_len) { sql_len = new_mlen; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, - "REALLOC %ld %d %d\n", sql_len, switch_queue_size(sql_manager.sql_queue[0]), + "REALLOC %ld %d %d\n", (long int)sql_len, switch_queue_size(sql_manager.sql_queue[0]), switch_queue_size(sql_manager.sql_queue[1])); if (!(tmp = realloc(sqlbuf, sql_len))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "SQL thread ending on mem err\n");