bugfix: xmms-1.2.3 on linux/alpha



Hello,

	Sorry if this has been posted already.  Somebody else figured this
out quite a while ago & fixed mpg123 (which is now correct in mpg123's cvs),
but I couldn't easily find the patch in order to fix xmms.

	Now that xmms is fixed, I figured I'd toss this out for anyone else
interested.

- Bibek
--- xmms-1.2.3/Input/mpg123/layer3.c.orig	Wed Aug  2 06:47:50 2000
+++ xmms-1.2.3/Input/mpg123/layer3.c	Fri Oct 13 00:05:16 2000
@@ -637,7 +637,7 @@
 
 #define REFRESH_MASK()					\
 while(num < BITSHIFT) {					\
-	mask |= mpg123_getbyte() << (BITSHIFT - num);	\
+	mask |= ((unsigned long)mpg123_getbyte()) << (BITSHIFT - num);	\
 	num += 8;					\
 	part2remain -= 8;				\
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]