提交 eacb6396 authored 作者: Michael S Collins's avatar Michael S Collins

Fix 32 bit error on %ld in printf (thanks crienzo)

上级 3be54a54
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论