[MPlayer-cvslog] r33551 - in trunk/gui: interface.c wm/ws.c wm/ws.h

ib subversion at mplayerhq.hu
Fri Jun 3 16:31:13 CEST 2011


Author: ib
Date: Fri Jun  3 16:31:13 2011
New Revision: 33551

Log:
Don't pointlessly cast Display pointer.

Modified:
   trunk/gui/interface.c
   trunk/gui/wm/ws.c
   trunk/gui/wm/ws.h

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Fri Jun  3 16:26:56 2011	(r33550)
+++ trunk/gui/interface.c	Fri Jun  3 16:31:13 2011	(r33551)
@@ -193,7 +193,7 @@ void guiInit(void)
     gtkInit();
 
     // initialize X
-    wsXInit((void *)mDisplay);
+    wsXInit(mDisplay);
 
     // load skin
 

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Fri Jun  3 16:26:56 2011	(r33550)
+++ trunk/gui/wm/ws.c	Fri Jun  3 16:31:13 2011	(r33551)
@@ -197,7 +197,7 @@ static int wsErrorHandler( Display * dpy
  return 0;
 }
 
-void wsXInit( void* mDisplay )
+void wsXInit( Display* mDisplay )
 {
  int    eventbase;
  int    errorbase;

Modified: trunk/gui/wm/ws.h
==============================================================================
--- trunk/gui/wm/ws.h	Fri Jun  3 16:26:56 2011	(r33550)
+++ trunk/gui/wm/ws.h	Fri Jun  3 16:31:13 2011	(r33551)
@@ -209,7 +209,7 @@ extern int                  wsUseXShm;
 extern unsigned long        wsKeyTable[512];
 
 void wsXDone( void );
-void wsXInit( void* disp );
+void wsXInit( Display* disp );
 
 int wsGetDepthOnScreen( void );
 


More information about the MPlayer-cvslog mailing list