]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build warning - trivial
authorJeff Lenk <jeff@jefflenk.com>
Mon, 18 Jan 2010 00:22:14 +0000 (00:22 +0000)
committerJeff Lenk <jeff@jefflenk.com>
Mon, 18 Jan 2010 00:22:14 +0000 (00:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16347 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 2a253eeabefc015f19b6cabd8352f8cd416254a5..06112d1078902e4c55cc1f667c72e4f4e3d41ea0 100644 (file)
@@ -1606,7 +1606,7 @@ static void *SWITCH_THREAD_FUNC early_thread_run(switch_thread_t *thread, void *
                                        for (x = 0; x < (int)read_frame->datalen / 2; x++) {
                                                sample = data[x] + mux_data[x];
                                                switch_normalize_to_16bit(sample);
-                                               mux_data[x] = sample;
+                                               mux_data[x] = (int16_t)sample;
                                        }
                                        
                                }