[Mplayer-cvslog] CVS: main/linux shmem.c,1.7,1.8

Alex Beregszaszi alex at mplayerhq.hu
Thu May 23 17:16:16 CEST 2002


Update of /cvsroot/mplayer/main/linux
In directory mail:/var/tmp.root/cvs-serv29140

Modified Files:
	shmem.c 
Log Message:
applied 64bit patch from Ulrich Hecht <uli at suse dot de>

Index: shmem.c
===================================================================
RCS file: /cvsroot/mplayer/main/linux/shmem.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- shmem.c	24 Mar 2002 01:05:43 -0000	1.7
+++ shmem.c	23 May 2002 15:16:03 -0000	1.8
@@ -66,7 +66,7 @@
     struct shmid_ds shmemds;
     int shmemid;
     if ((shmemid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600)) == -1) break;
-    if ((int)(p = shmat(shmemid, 0, 0)) == -1){
+    if ((p = shmat(shmemid, 0, 0)) == (void *)-1){
       mp_msg(MSGT_OSDEP, MSGL_ERR, "shmem: shmat() failed: %s\n", strerror(errno));
       shmctl (shmemid, IPC_RMID, &shmemds);
       break;




More information about the MPlayer-cvslog mailing list