[Mplayer-cvslog] CVS: main/input joystick.c,1.4,1.5
Alban Bedel CVS
albeu at mplayerhq.hu
Thu May 23 11:47:20 CEST 2002
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv20429/input
Modified Files:
joystick.c
Log Message:
10L bugfix
Index: joystick.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/joystick.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- joystick.c 8 Feb 2002 18:10:56 -0000 1.4
+++ joystick.c 23 May 2002 09:47:18 -0000 1.5
@@ -46,7 +46,7 @@
while(! inited) {
l = 0;
while((unsigned int)l < sizeof(struct js_event)) {
- int r = read(fd,&ev+l,sizeof(struct js_event)-l);
+ int r = read(fd,((char*)&ev)+l,sizeof(struct js_event)-l);
if(r < 0) {
if(errno == EINTR)
continue;
More information about the MPlayer-cvslog
mailing list