Commit a62400a8 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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

As required by MSVC.
parent d7ef00e6
...@@ -60,7 +60,7 @@ static char *get_thread_dll_path(void) ...@@ -60,7 +60,7 @@ static char *get_thread_dll_path(void)
static void set_thead_dll_detach_event(HANDLE dll, HANDLE event) 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"); _set_detach_event = (void*) GetProcAddress(dll, "set_detach_event");
ok(_set_detach_event != NULL, "Failed to get set_detach_event: %lu\n", GetLastError()); ok(_set_detach_event != NULL, "Failed to get set_detach_event: %lu\n", GetLastError());
_set_detach_event(event); _set_detach_event(event);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment