[vlc-devel] [PATCH 2/5] win32: thread: pass the proper type to SelectClockSource()

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 7 16:02:07 CET 2020


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



More information about the vlc-devel mailing list