aboutsummaryrefslogtreecommitdiffstats
path: root/Tremolo
diff options
context:
space:
mode:
authorBruce Beare <brucex.j.beare@intel.com>2010-06-25 09:07:39 -0700
committerBruce Beare <brucex.j.beare@intel.com>2010-06-25 09:07:39 -0700
commitd52f6d76f66e2e419bd18cc09395a0008edd649c (patch)
tree33ab125966e4c496d60228aa9d2d10117bf3f924 /Tremolo
parent1a7ca64dd19ab9a5af3c4c3c58c815f764877bf7 (diff)
downloadexternal_tremolo-d52f6d76f66e2e419bd18cc09395a0008edd649c.zip
external_tremolo-d52f6d76f66e2e419bd18cc09395a0008edd649c.tar.gz
external_tremolo-d52f6d76f66e2e419bd18cc09395a0008edd649c.tar.bz2
Fix compile warnings and errors
Change-Id: I30a9299390cef302a8d3e61b6aa6e38731be1529 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Diffstat (limited to 'Tremolo')
-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