diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 20:27:37 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 20:27:37 +0000 |
commit | f4d89e410ae1f1df4247b72ed19a97222113e8e7 (patch) | |
tree | 72344fb3a18484772df8f496cc1f9be6e902c64f /channels/chan_h323.c | |
parent | f925470a1b0577798cad89472fbc14657a6a4d58 (diff) |
More 32->64 bit codec conversions.
In the process of swapping ULAW to a place in the extended codec space, we
found several unhandled cases, where a 32-bit integer was still being used to
handle a codec field. Most of these have been fixed with this commit, although
there is at least one case (codec_dahdi) which depends upon outside headers to
be altered before a conversion can be made.
(Fixes AST-278, SWP-459)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231850 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 3ccfde2d3..32d9443d4 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -3154,7 +3154,7 @@ static enum ast_rtp_glue_result oh323_get_rtp_peer(struct ast_channel *chan, str return res; } -static char *convertcap(int cap) +static char *convertcap(format_t cap) { switch (cap) { case AST_FORMAT_G723_1: @@ -3176,7 +3176,7 @@ static char *convertcap(int cap) case AST_FORMAT_ILBC: return "ILBC"; default: - ast_log(LOG_NOTICE, "Don't know how to deal with mode %d\n", cap); + ast_log(LOG_NOTICE, "Don't know how to deal with mode %" PRId64 "\n", cap); return NULL; } } |