Module: wine Branch: master Commit: a62400a8df1b1790af1ccaa19fc0df098f31c699 URL: https://gitlab.winehq.org/wine/wine/-/commit/a62400a8df1b1790af1ccaa19fc0df0...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Nov 21 20:59:09 2022 -0700
ucrtbase/tests: Put the calling convention inside the function pointer parentheses.
As required by MSVC.
---
dlls/ucrtbase/tests/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ucrtbase/tests/thread.c b/dlls/ucrtbase/tests/thread.c index cca95644c05..a9255b5081f 100644 --- a/dlls/ucrtbase/tests/thread.c +++ b/dlls/ucrtbase/tests/thread.c @@ -60,7 +60,7 @@ static char *get_thread_dll_path(void)
static void set_thead_dll_detach_event(HANDLE dll, HANDLE event) { - void WINAPI (*_set_detach_event)(HANDLE event); + void (WINAPI *_set_detach_event)(HANDLE event); _set_detach_event = (void*) GetProcAddress(dll, "set_detach_event"); ok(_set_detach_event != NULL, "Failed to get set_detach_event: %lu\n", GetLastError()); _set_detach_event(event);