]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix switch_core_sqldb.c compiler error on 32-bit debian
authorChristopher Rienzo <chris@rienzo.net>
Wed, 10 Oct 2012 14:30:27 +0000 (14:30 +0000)
committerChristopher Rienzo <chris@rienzo.net>
Wed, 10 Oct 2012 14:30:27 +0000 (14:30 +0000)
src/switch_core_sqldb.c

index 49625f405e8452cca7469f9ec55f47383514fc61..7d57ba53aff53586a2e249ce7aef102c0967bc50 100644 (file)
@@ -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]));