shithub: sox

Download patch

ref: dc40c19c801405e04f0202fcaffe87278c0dbe30
parent: 28fdf0005d6ce43941772e4704a667daa1c38a70
author: robs <robs>
date: Sat Jun 13 11:30:31 EDT 2009

fix 64-bit warnings

--- a/src/vad.c
+++ b/src/vad.c
@@ -178,7 +178,7 @@
 }
 
 static double measure(
-    priv_t * p, chan_t * c, size_t index, size_t step, int booting)
+    priv_t * p, chan_t * c, size_t index, unsigned step, int booting)
 {
   double mult, result = 0;
   size_t i;
@@ -239,7 +239,7 @@
           j = min(j, zero_j);
           to_flush = range_limit(j, to_flush, n);
         }
-        lsx_debug_more("%12g %12g %u", meas, c->mean_meas, to_flush);
+        lsx_debug_more("%12g %12g %u", meas, c->mean_meas, (unsigned)to_flush);
       }
     }
     if (p->buffer_ptr == p->buffer_len)