From a62400a8df1b1790af1ccaa19fc0df098f31c699 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Mon, 21 Nov 2022 20:59:09 -0700 Subject: [PATCH] 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);