diff --git a/libcelt/mathops.h b/libcelt/mathops.h
index 965deeffcd3fa331638c084096525337cb51534f..bb5820783c034c09d34c4c75e713bad46b0f163c 100644
--- a/libcelt/mathops.h
+++ b/libcelt/mathops.h
@@ -57,7 +57,7 @@ static inline int find_max16(celt_word16_t *x, int len)
 #ifndef OVERRIDE_FIND_MAX32
 static inline int find_max32(celt_word32_t *x, int len)
 {
-   celt_word32_t max_corr=-VERY_LARGE16;
+   celt_word32_t max_corr=-VERY_LARGE32;
    int i, id = 0;
    for (i=0;i<len;i++)
    {
diff --git a/libcelt/vq.c b/libcelt/vq.c
index 7407151315246e8f9e0c86585ed714bf6c382610..5f1d4ad0dde9a154e6adebc85fada665f91eb76d 100644
--- a/libcelt/vq.c
+++ b/libcelt/vq.c
@@ -155,7 +155,6 @@ void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, const celt_norm_t *
       pulsesAtOnce = pulsesLeft/N;
       if (pulsesAtOnce<1)
          pulsesAtOnce = 1;
-      /*printf ("%d %d %d/%d %d\n", Lupdate, pulsesAtOnce, pulsesLeft, K, N);*/
 
       /* Choose between fast and accurate strategy depending on where we are in the search */
       if (pulsesLeft>1)