From 1a83fa7f1bdddb0929fefc5bbd386a7533d19628 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 1 Feb 2008 19:43:06 +0000 Subject: [PATCH] use right type. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7469 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_l16/mod_l16.c | 2 +- src/mod/codecs/mod_speex/mod_speex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/codecs/mod_l16/mod_l16.c b/src/mod/codecs/mod_l16/mod_l16.c index 193ca411d6..ffad6c520f 100644 --- a/src/mod/codecs/mod_l16/mod_l16.c +++ b/src/mod/codecs/mod_l16/mod_l16.c @@ -91,7 +91,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_l16_load) { switch_codec_interface_t *codec_interface; int mpf = 10000, spf = 80, bpf = 160, ebpf = 160, bps = 128000, rate = 8000, counta, countb; - int ianacode[4] = { 0, 10, 117, 119 }; + switch_payload_t ianacode[4] = { 0, 10, 117, 119 }; /* connect my internal structure to the blank pointer passed to me */ *module_interface = switch_loadable_module_create_module_interface(pool, modname); diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index f75df214eb..13557039a1 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -265,7 +265,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load) { switch_codec_interface_t *codec_interface; int mpf = 10000, spf = 80, bpf = 160, ebpf = 0, rate = 8000, counta, countb; - int ianacode[4] = { 0, 98, 99, 103}; + switch_payload_t ianacode[4] = { 0, 98, 99, 103}; int bps[4] = { 0, 24600, 42200, 44000 }; /* connect my internal structure to the blank pointer passed to me */ *module_interface = switch_loadable_module_create_module_interface(pool, modname);