1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

ucrtbase/tests: Put the calling convention inside the function pointer parentheses.

As required by MSVC.
This commit is contained in:
Alex Henrie 2022-11-21 20:59:09 -07:00 committed by Alexandre Julliard
parent d7ef00e66e
commit a62400a8df

View File

@ -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);