aboutsummaryrefslogtreecommitdiffstats
path: root/compat/float
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-08-02 00:48:50 +0300
committerMartin Storsjö <martin@martin.st>2023-08-04 21:51:20 +0300
commit7aa9684db39a8ecf444b3af1c74c225757d8e49f (patch)
tree1bf733734852baae9bbcbd480bd760bfbc3b1763 /compat/float
parent271c8229f8f53aa0683b4cf3eec1e4abcb4aba42 (diff)
downloadffmpeg-7aa9684db39a8ecf444b3af1c74c225757d8e49f.tar.gz
w32pthreads: Fix function signature mismatches for CreateThread
In WinRT mode, we use CreateThread instead of _beginthreadex. CreateThread takes a LPTHREAD_START_ROUTINE function pointer, which has got the signature DWORD WINAPI ThreadProc(LPVOID). _beginthreadex takes a function with the signature unsigned __stdcall func(void *). DWORD is defined as an unsigned long, which is different type from unsigned int, even if they have the same size on Windows. This fixes build failures with Clang 16 and newer, where function pointer type mismatches are a fatal error by default. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'compat/float')
0 files changed, 0 insertions, 0 deletions