mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-23 16:59:11 -07:00
Two other trunk build fixes (reported by seanbright on #asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1517,7 +1517,7 @@ static unsigned char compress_subclass(format_t subclass)
|
||||
for (x = 0; x < IAX_MAX_SHIFT; x++) {
|
||||
if (subclass & (1LL << x)) {
|
||||
if (power > -1) {
|
||||
ast_log(LOG_WARNING, "Can't compress subclass %Ld\n", subclass);
|
||||
ast_log(LOG_WARNING, "Can't compress subclass %Ld\n", (long long) subclass);
|
||||
return 0;
|
||||
} else
|
||||
power = x;
|
||||
|
||||
+1
-1
@@ -10194,7 +10194,7 @@ static void add_codec_to_sdp(const struct sip_pvt *p, format_t codec,
|
||||
|
||||
|
||||
if (debug)
|
||||
ast_verbose("Adding codec 0x%Lx (%s) to SDP\n", codec, ast_getformatname(codec));
|
||||
ast_verbose("Adding codec 0x%Lx (%s) to SDP\n", (long long) codec, ast_getformatname(codec));
|
||||
if ((rtp_code = ast_rtp_codecs_payload_code(ast_rtp_instance_get_codecs(p->rtp), 1, codec)) == -1)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user