mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
ole32/tests: Fix a pointer casting warning on 64-bit.
This commit is contained in:
parent
90541731aa
commit
68bd54b558
@ -887,7 +887,7 @@ static void test_registered_object_thread_affinity(void)
|
||||
ok(hr == S_OK, "CoGetClassObject on local server object registered in same "
|
||||
"thread should return S_OK instead of 0x%08x\n", hr);
|
||||
|
||||
thread = CreateThread(NULL, 0, revoke_class_object_thread, (LPVOID)cookie, 0, &tid);
|
||||
thread = CreateThread(NULL, 0, revoke_class_object_thread, (LPVOID)(DWORD_PTR)cookie, 0, &tid);
|
||||
ok(thread != NULL, "CreateThread failed with error %d\n", GetLastError());
|
||||
WaitForSingleObject(thread, INFINITE);
|
||||
GetExitCodeThread(thread, &exitcode);
|
||||
|
Loading…
Reference in New Issue
Block a user