aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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