diff options
| author | Anthony Roberts <anthony.roberts@linaro.org> | 2023-03-30 15:19:53 +0100 |
|---|---|---|
| committer | Pauli <pauli@openssl.org> | 2023-04-03 08:19:43 +1000 |
| commit | fae5a15573fb314d0a5bc06f3929fd5ec6ffe5a5 (patch) | |
| tree | 80279395664dbf76e0c8808acdc49787e4451f8c /crypto | |
| parent | 9559ad0e8d433a2a212b63cc848fa2ac82a9b048 (diff) | |
| download | openssl-new-fae5a15573fb314d0a5bc06f3929fd5ec6ffe5a5.tar.gz | |
Fix compilation error when using clang-cl 16 or higher
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 https://github.com/openssl/openssl/pull/20654)
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/thread/arch/thread_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/thread/arch/thread_win.c b/crypto/thread/arch/thread_win.c index 7f44d1f5cf..96f1e81a21 100644 --- a/crypto/thread/arch/thread_win.c +++ b/crypto/thread/arch/thread_win.c @@ -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; |
