Fix compilation error when using clang-cl 16 or higher
authorAnthony Roberts <anthony.roberts@linaro.org>
Thu, 30 Mar 2023 14:19:53 +0000 (15:19 +0100)
committerPauli <pauli@openssl.org>
Sun, 2 Apr 2023 22:19:43 +0000 (08:19 +1000)
commitfae5a15573fb314d0a5bc06f3929fd5ec6ffe5a5
tree80279395664dbf76e0c8808acdc49787e4451f8c
parent9559ad0e8d433a2a212b63cc848fa2ac82a9b048
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)
crypto/thread/arch/thread_win.c