Commit 68bd54b5 authored by Alexandre Julliard's avatar Alexandre Julliard

ole32/tests: Fix a pointer casting warning on 64-bit.

parent 90541731
...@@ -887,7 +887,7 @@ static void test_registered_object_thread_affinity(void) ...@@ -887,7 +887,7 @@ static void test_registered_object_thread_affinity(void)
ok(hr == S_OK, "CoGetClassObject on local server object registered in same " ok(hr == S_OK, "CoGetClassObject on local server object registered in same "
"thread should return S_OK instead of 0x%08x\n", hr); "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()); ok(thread != NULL, "CreateThread failed with error %d\n", GetLastError());
WaitForSingleObject(thread, INFINITE); WaitForSingleObject(thread, INFINITE);
GetExitCodeThread(thread, &exitcode); GetExitCodeThread(thread, &exitcode);
......
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