summaryrefslogtreecommitdiff
path: root/res/res_adsi.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-12-01 20:27:37 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-12-01 20:27:37 +0000
commitf59fe83c56f6539c09eb068a94d2db60bfb18f17 (patch)
tree72344fb3a18484772df8f496cc1f9be6e902c64f /res/res_adsi.c
parentb2d115bce95e02589972ad4f07cb9a959ea02139 (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: https://origsvn.digium.com/svn/asterisk/trunk@231850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_adsi.c')
-rw-r--r--res/res_adsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_adsi.c b/res/res_adsi.c
index 32f168850..001763758 100644
--- a/res/res_adsi.c
+++ b/res/res_adsi.c
@@ -67,7 +67,7 @@ static char speeddial[ADSI_MAX_SPEED_DIAL][3][SPEEDDIAL_MAX_LEN];
static int alignment = 0;
-static int adsi_generate(unsigned char *buf, int msgtype, unsigned char *msg, int msglen, int msgnum, int last, int codec)
+static int adsi_generate(unsigned char *buf, int msgtype, unsigned char *msg, int msglen, int msgnum, int last, format_t codec)
{
int sum, x, bytes = 0;
/* Initial carrier (imaginary) */