16-bit fix
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 29 Feb 2008 21:33:51 +0000 (08:33 +1100)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 29 Feb 2008 21:33:51 +0000 (08:33 +1100)
libcelt/laplace.c

index b06b851..3a607c4 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "laplace.h"
 
-static int ec_laplace_get_total(int decay)
+static ec_int32 ec_laplace_get_total(int decay)
 {
    return (((ec_uint32)1)<<30)/((((ec_uint32)1)<<14) - decay) - (((ec_uint32)1)<<15) + 1;
 }