Fix 32 bit error on %ld in printf (thanks crienzo)
This commit is contained in:
parent
3be54a5460
commit
eacb639687
|
@ -1906,7 +1906,7 @@ static switch_status_t fetch_cache_data(const char *url, switch_event_t **header
|
||||||
switch(code) {
|
switch(code) {
|
||||||
case 200:
|
case 200:
|
||||||
if (save_path) {
|
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;
|
status = SWITCH_STATUS_SUCCESS;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue