From: Michael S Collins Date: Fri, 6 Jan 2012 01:56:04 +0000 (-0800) Subject: Fix 32 bit error on %ld in printf (thanks crienzo) X-Git-Tag: v1.2-rc1~19^2~1^2~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eacb639687529b0cbc7053a3ac0196de72eecfa0;p=thirdparty%2Ffreeswitch.git Fix 32 bit error on %ld in printf (thanks crienzo) --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 8bd11ac470..5b59665962 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -1906,7 +1906,7 @@ static switch_status_t fetch_cache_data(const char *url, switch_event_t **header switch(code) { case 200: if (save_path) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "caching: url:%s to %s (%ld bytes)\n", url, save_path, client.bytes); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "caching: url:%s to %s (%" SWITCH_SIZE_T_FMT " bytes)\n", url, save_path, client.bytes); } status = SWITCH_STATUS_SUCCESS; break;