[MPlayer-cvslog] r33655 - trunk/gui/win32/interface.c

Diego Biurrun diego at biurrun.de
Sun Jun 19 15:12:07 CEST 2011


On Sun, Jun 19, 2011 at 02:57:54PM +0200, Diego Biurrun wrote:
> On Sun, Jun 19, 2011 at 02:36:12PM +0200, reimar wrote:
> > 
> > Log:
> > Implement uiStop and remove outdated comment.
> > 
> > --- trunk/gui/win32/interface.c	Sun Jun 19 14:26:38 2011	(r33654)
> > +++ trunk/gui/win32/interface.c	Sun Jun 19 14:36:12 2011	(r33655)
> > @@ -431,6 +431,11 @@ void uiEnd( void )
> >      guiGetEvent(guiCEvent, (void *) guiSetStop);
> >  }
> >  
> > +void uiStop()
> > +{
> > +    guiGetEvent(guiCEvent, (void *) guiSetStop);
> > +}
> 
> The cast is ugly :-/

Given this prototype

  int guiGetEvent(int type, void *arg)

the cast should not be necessary.

Diego


More information about the MPlayer-cvslog mailing list