]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use right type.
authorMichael Jerris <mike@jerris.com>
Fri, 1 Feb 2008 19:43:06 +0000 (19:43 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 1 Feb 2008 19:43:06 +0000 (19:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7469 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/codecs/mod_l16/mod_l16.c
src/mod/codecs/mod_speex/mod_speex.c

index 193ca411d6b06c5469b390c0adf06bc062d21ecf..ffad6c520fd43ae476c38c2de31981f0bdb7194c 100644 (file)
@@ -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);
index f75df214eb12e9f94716651c9734a1c5fbb36f37..13557039a14d9ae7c56fbe4dc0165c52cd25c9a6 100644 (file)
@@ -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);