[vlc-devel] [PATCH 2/5] win32: thread: pass the proper type to SelectClockSource()
Rémi Denis-Courmont
remi at remlab.net
Fri Feb 7 16:40:45 CET 2020
Probably ok. I don't recall why it was void.
Le 7 février 2020 17:02:07 GMT+02:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>No need to use a void*.
>---
> src/win32/thread.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
>diff --git a/src/win32/thread.c b/src/win32/thread.c
>index 36027cf7fee..6af2eb83852 100644
>--- a/src/win32/thread.c
>+++ b/src/win32/thread.c
>@@ -806,10 +806,8 @@ void (vlc_tick_sleep)(vlc_tick_t delay)
> }
> #endif
>
>-static BOOL SelectClockSource(void *data)
>+static BOOL SelectClockSource(vlc_object_t *obj)
> {
>- vlc_object_t *obj = data;
>-
> #if VLC_WINSTORE_APP
> const char *name = "perf";
> #else
>--
>2.17.1
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200207/27e3f56b/attachment.html>
More information about the vlc-devel
mailing list