Backport some fixes.
[deb_libcec.git] / debian / patches / thread_proto_fix.patch
CommitLineData
bd7729ef
JB
1--- a/src/lib/platform/threads/threads.h
2+++ b/src/lib/platform/threads/threads.h
3@@ -52,8 +52,9 @@
4 if (ThreadsWait(m_thread, &retVal)){}; // silence unused warning
5 }
6
7- static void *ThreadHandler(CThread *thread)
8+ static void *ThreadHandler(void *_thread)
9 {
10+ CThread *thread = static_cast<CThread *>(_thread);
11 void *retVal = NULL;
12
13 if (thread)