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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jun 19 17:17:28 CEST 2011



On 19 Jun 2011, at 15:12, Diego Biurrun <diego at biurrun.de> wrote:

> 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.

It was only copy-paste from two lines above...


More information about the MPlayer-cvslog mailing list