[vlc-commits] win32: thread: pass the proper type to SelectClockSource()
Steve Lhomme
git at videolan.org
Mon Feb 10 09:06:49 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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
More information about the vlc-commits
mailing list