X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=blobdiff_plain;f=debian%2Fpatches%2Fthread_proto_fix.patch;fp=debian%2Fpatches%2Fthread_proto_fix.patch;h=6e2959f3c39f3d161ab974401274079cd9f6f07b;hp=0000000000000000000000000000000000000000;hb=bd7729effaee0b3736f82cfb091e4e00e61c9e04;hpb=b1bd94283cef75676b987f30d61f26fad09c19c3 diff --git a/debian/patches/thread_proto_fix.patch b/debian/patches/thread_proto_fix.patch new file mode 100644 index 0000000..6e2959f --- /dev/null +++ b/debian/patches/thread_proto_fix.patch @@ -0,0 +1,13 @@ +--- a/src/lib/platform/threads/threads.h ++++ b/src/lib/platform/threads/threads.h +@@ -52,8 +52,9 @@ + if (ThreadsWait(m_thread, &retVal)){}; // silence unused warning + } + +- static void *ThreadHandler(CThread *thread) ++ static void *ThreadHandler(void *_thread) + { ++ CThread *thread = static_cast(_thread); + void *retVal = NULL; + + if (thread)