aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Beare <brucex.j.beare@intel.com>2010-06-25 09:07:39 -0700
committerDavid 'Digit' Turner <digit@google.com>2011-06-08 19:46:50 +0200
commit9b3d8e4193fb5c75678ea8dc49806f498769a541 (patch)
tree3cffee7550250f2eee8fbeed6f28f633a1787b01
parent9a688754461ebfc91769b5d3c8ba5aba9fe1f376 (diff)
downloadexternal_tremolo-9b3d8e4193fb5c75678ea8dc49806f498769a541.zip
external_tremolo-9b3d8e4193fb5c75678ea8dc49806f498769a541.tar.gz
external_tremolo-9b3d8e4193fb5c75678ea8dc49806f498769a541.tar.bz2
Fix compile warnings and errors
Orig-Change-Id: I30a9299390cef302a8d3e61b6aa6e38731be1529 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
-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