vlc | branch: master | Steve Lhomme <[email protected]> | Fri Feb  7 14:31:58 
2020 +0100| [29e1f62d36d25d4d2e71377b58f8e97e0e290da1] | committer: Steve Lhomme

win32: thread: pass the proper type to SelectClockSource()

No need to use a void*.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29e1f62d36d25d4d2e71377b58f8e97e0e290da1
---

 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 36027cf7fe..6af2eb8385 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to