Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/speexdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/speexdec.c b/src/speexdec.c
index 4721dc1..fcbb9b4 100644
--- a/src/speexdec.c
+++ b/src/speexdec.c
@@ -86,10 +86,10 @@
#define MAX_FRAME_SIZE 2000
-#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \
- ((buf[base+2]<<16)&0xff0000)| \
- ((buf[base+1]<<8)&0xff00)| \
- (buf[base]&0xff))
+#define readint(buf, base) ((((unsigned)buf[base+3]<<24)&0xff000000)| \
+ (((unsigned)buf[base+2]<<16)&0xff0000)| \
+ (((unsigned)buf[base+1]<<8)&0xff00)| \
+ ((unsigned)buf[base]&0xff))
static void print_comments(char *comments, int length)
{