ole32: change a pointer cast from DWORD to DWORD_PTR
Austin English
austinenglish at gmail.com
Sun Feb 22 16:37:58 CST 2009
--
-Austin
-------------- next part --------------
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index b8ddba8..7360f66 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2007,7 +2007,7 @@ HRESULT WINAPI CoRegisterClassObject(
* Use the address of the chain node as the cookie since we are sure it's
* unique. FIXME: not on 64-bit platforms.
*/
- newClass->dwCookie = (DWORD)newClass;
+ newClass->dwCookie = (DWORD_PTR)newClass;
/*
* Since we're making a copy of the object pointer, we have to increase its
More information about the wine-patches
mailing list