[Pkg-voip-commits] r9883 - in /spandsp/trunk/debian: changelog patches/array_warning

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sun Jul 1 08:58:17 UTC 2012


Author: tzafrir
Date: Sun Jul  1 08:58:17 2012
New Revision: 9883

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9883
Log:
Patch array_warning: backported bugfix to kill compiler warning.

Added:
    spandsp/trunk/debian/patches/array_warning
Modified:
    spandsp/trunk/debian/changelog

Modified: spandsp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/spandsp/trunk/debian/changelog?rev=9883&op=diff
==============================================================================
--- spandsp/trunk/debian/changelog (original)
+++ spandsp/trunk/debian/changelog Sun Jul  1 08:58:17 2012
@@ -2,6 +2,7 @@
 
   * NOT RELEASED YET
   * Patch serial-test: Don't run tests in parallel.
+  * Patch array_warning: backported bugfix to kill compiler warning.
 
  -- Tzafrir Cohen <tzafrir at debian.org>  Thu, 24 May 2012 16:16:48 +0300
 

Added: spandsp/trunk/debian/patches/array_warning
URL: http://svn.debian.org/wsvn/pkg-voip/spandsp/trunk/debian/patches/array_warning?rev=9883&op=file
==============================================================================
--- spandsp/trunk/debian/patches/array_warning (added)
+++ spandsp/trunk/debian/patches/array_warning Sun Jul  1 08:58:17 2012
@@ -1,0 +1,19 @@
+Author: Steve Underwood <steveu at coppice.org>
+Origin: SpanDSP snapshot 20120415
+
+diff --git a/src/sig_tone.c b/src/sig_tone.c
+index 99b0444..6aaecdb 100644
+--- a/src/sig_tone.c
++++ b/src/sig_tone.c
+@@ -648,9 +647,9 @@ SPAN_DECLARE(sig_tone_rx_state_t *) sig_tone_rx_init(sig_tone_rx_state_t *s, int
+     }
+     memset(s, 0, sizeof(*s));
+ #if !defined(SPANDSP_USE_FIXED_POINT)
+-    for (i = 0;  i < 3;  i++)
++    for (j = 0;  j < 2;  j++)
+     {
+-        for (j = 0;  j < 2;  j++)
++        for (i = 0;  i < 3;  i++)
+         {
+             s->tone[j].notch_z1[i] = 0.0f;
+             s->tone[j].notch_z2[i] = 0.0f;




More information about the Pkg-voip-commits mailing list