mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
ucrtbase/tests: Put the calling convention inside the function pointer parentheses.
As required by MSVC.
This commit is contained in:
parent
d7ef00e66e
commit
a62400a8df
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue