aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-07-08 10:51:25 -0700
committerAndroid Code Review <code-review@android.com>2010-07-08 10:51:25 -0700
commitac1571fdc91e2e215e86c4069e328d3294682e23 (patch)
tree2f5aed9cd1f4f1c974c53e2bfc5348a4a992504c
parent97a3b7c33088e22bbf6cd494c5a014081a4a6d87 (diff)
parentd52f6d76f66e2e419bd18cc09395a0008edd649c (diff)
downloadexternal_tremolo-ac1571fdc91e2e215e86c4069e328d3294682e23.zip
external_tremolo-ac1571fdc91e2e215e86c4069e328d3294682e23.tar.gz
external_tremolo-ac1571fdc91e2e215e86c4069e328d3294682e23.tar.bz2
Merge "Fix compile warnings and errors"
-rw-r--r--Tremolo/bitwise.c2
-rw-r--r--Tremolo/os_types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Tremolo/bitwise.c b/Tremolo/bitwise.c
index 3f1be7a..2182641 100644
--- a/Tremolo/bitwise.c
+++ b/Tremolo/bitwise.c
@@ -214,7 +214,7 @@ void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){
/* Read in bits without advancing the bitptr; bits <= 32 */
long oggpack_look(oggpack_buffer *b,int bits){
unsigned long m=mask[bits];
- unsigned long ret;
+ unsigned long ret = 0;
int BITS = bits;
bits+=b->headbit;
diff --git a/Tremolo/os_types.h b/Tremolo/os_types.h
index b08d0ce..315227c 100644
--- a/Tremolo/os_types.h
+++ b/Tremolo/os_types.h
@@ -117,6 +117,7 @@
# include <sys/types.h>
# include "config_types.h"
+# include <endian.h>
#endif