[Mplayer-cvslog] CVS: main/vidix/drivers cyberblade_regs.h,1.1,1.2
Arpi of Ize
arpi at mplayerhq.hu
Fri Jan 3 13:26:20 CET 2003
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv23201/vidix/drivers
Modified Files:
cyberblade_regs.h
Log Message:
compiler warning fixes by Dominik Mierzejewski <dominik at rangers.eu.org>
Index: cyberblade_regs.h
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/cyberblade_regs.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cyberblade_regs.h 21 Dec 2002 13:06:23 -0000 1.1
+++ cyberblade_regs.h 3 Jan 2003 12:26:17 -0000 1.2
@@ -135,12 +135,12 @@
#define OUTW(addr,val) (*(unsigned short *)(cyberblade_reg_base+addr)=(val))
#define SRINB(reg) (OUTB(0x3c4,reg), INB(0x3c5))
-#define SROUTB(reg,val) (OUTW(0x3c4,(val)<<8|reg))
+#define SROUTB(reg,val) (OUTW(0x3c4,((val)<<8)|(reg)))
#define CRINB(reg) \
(OUTB(cyberblade_crtc+4,reg), INB(cyberblade_crtc+5))
#define CROUTB(reg,val) \
- (OUTW(cyberblade_crtc+4,(val)<<8|reg))
+ (OUTW(cyberblade_crtc+4,((val)<<8)|(reg)))
/* --- */
More information about the MPlayer-cvslog
mailing list