Skip to content

Commit

Permalink
Fix compilation error when using clang-cl 16 or higher
Browse files Browse the repository at this point in the history
Fixes a "Incompatible function pointer types" error.

In prior versions, this was a warning, but is now an error.

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #20654)
  • Loading branch information
anthony-linaro authored and paulidale committed Apr 2, 2023
1 parent 9559ad0 commit fae5a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/thread/arch/thread_win.c
Expand Up @@ -13,7 +13,7 @@
# include <process.h>
# include <windows.h>

static DWORD __stdcall thread_start_thunk(LPVOID vthread)
static unsigned __stdcall thread_start_thunk(LPVOID vthread)
{
CRYPTO_THREAD *thread;
CRYPTO_THREAD_RETVAL ret;
Expand Down

0 comments on commit fae5a15

Please sign in to comment.