Alexandre Julliard : ole32/tests: Fix a pointer casting warning on 64-bit.
Alexandre Julliard
julliard at winehq.org
Sun Jan 4 09:08:55 CST 2009
Module: wine
Branch: master
Commit: 68bd54b55808576679f0c56d81c48d4695ca77b8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=68bd54b55808576679f0c56d81c48d4695ca77b8
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Jan 3 20:14:11 2009 +0100
ole32/tests: Fix a pointer casting warning on 64-bit.
---
dlls/ole32/tests/compobj.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c
index 35f0021..02dc080 100644
--- a/dlls/ole32/tests/compobj.c
+++ b/dlls/ole32/tests/compobj.c
@@ -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);
More information about the wine-cvs
mailing list