diff options
Diffstat (limited to 'main/freeswitch/0001-FS-8427-Incompatible-type-for-ld-in-prinrtf.patch')
-rw-r--r-- | main/freeswitch/0001-FS-8427-Incompatible-type-for-ld-in-prinrtf.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/main/freeswitch/0001-FS-8427-Incompatible-type-for-ld-in-prinrtf.patch b/main/freeswitch/0001-FS-8427-Incompatible-type-for-ld-in-prinrtf.patch deleted file mode 100644 index f11c2d16571..00000000000 --- a/main/freeswitch/0001-FS-8427-Incompatible-type-for-ld-in-prinrtf.patch +++ /dev/null @@ -1,39 +0,0 @@ -From de06bf086bdaa442cba0d44bde65265eb4d7fc14 Mon Sep 17 00:00:00 2001 -From: Stanislav Sinyagin <ssinyagin@k-open.com> -Date: Mon, 9 Nov 2015 21:54:00 +0000 -Subject: [PATCH] FS-8427 Incompatible type for %ld in prinrtf - ---- - src/mod/applications/mod_av/avcodec.c | 2 +- - src/mod/endpoints/mod_rtmp/rtmp_tcp.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c -index 4d4cb24..199f760 100644 ---- a/src/mod/applications/mod_av/avcodec.c -+++ b/src/mod/applications/mod_av/avcodec.c -@@ -539,7 +539,7 @@ static void fs_rtp_parse_h263_rfc2190(h264_codec_context_t *context, AVPacket *p - mb_info_pos++; - } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, -- "Unable to split H263 packet! mb_info_pos=%d mb_info_count=%d pos=%d max=%ld\n", mb_info_pos, mb_info_count, pos, end - buf_base); -+ "Unable to split H263 packet! mb_info_pos=%d mb_info_count=%d pos=%d max=%"SWITCH_SIZE_T_FMT"\n", mb_info_pos, mb_info_count, pos, (switch_size_t)(end - buf_base)); - } - } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Should Not Happen!!! mb_info_pos=%d mb_info_count=%d mb_info_size=%d\n", mb_info_pos, mb_info_count, mb_info_size); -diff --git a/src/mod/endpoints/mod_rtmp/rtmp_tcp.c b/src/mod/endpoints/mod_rtmp/rtmp_tcp.c -index e716272..4389cef 100644 ---- a/src/mod/endpoints/mod_rtmp/rtmp_tcp.c -+++ b/src/mod/endpoints/mod_rtmp/rtmp_tcp.c -@@ -136,7 +136,7 @@ again: - break; - } - -- if (*len != orig_len) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "sent %ld of %ld\n", *len, orig_len); -+ if (*len != orig_len) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "sent %"SWITCH_SIZE_T_FMT" of %"SWITCH_SIZE_T_FMT"\n", *len, orig_len); - buf += *len; - remaining -= *len; - *len = remaining; --- -2.6.3 - |