From 0a4cc59f3b98c6c5f216e50ceba6a41a63623cae Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 22 Feb 2008 08:47:31 +0000 Subject: [PATCH] Warning fix for gcc 4.3. --- src/common/mp3_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mp3_common.cpp b/src/common/mp3_common.cpp index c801b13fc..f703d39b9 100644 --- a/src/common/mp3_common.cpp +++ b/src/common/mp3_common.cpp @@ -213,7 +213,7 @@ decode_mp3_header(const unsigned char *buf, else if (h->version == 3) h->version = 1; - h->layer = 4 - (header >> 17) & 3; + h->layer = 4 - ((header >> 17) & 3); if (h->layer == 4) mxerror("Invalid MP3 header value for the layer.\n");