[PATCH] [oleaut32]: fix invalid cast

Eric Pouech eric.pouech at orange.fr
Fri Oct 29 08:39:43 CDT 2010




A+
---

 dlls/oleaut32/olepropframe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/dlls/oleaut32/olepropframe.c b/dlls/oleaut32/olepropframe.c
index 7acf4e9..4772ba7 100644
--- a/dlls/oleaut32/olepropframe.c
+++ b/dlls/oleaut32/olepropframe.c
@@ -55,7 +55,7 @@ static INT_PTR CALLBACK property_sheet_proc(HWND hwnd, UINT msg, WPARAM wparam,
         IPropertyPage_Activate(property_page, hwnd, &rect, TRUE);
         IPropertyPage_Show(property_page, SW_SHOW);
 
-        SetWindowLongPtrW(hwnd, DWLP_USER, (LONG)property_page);
+        SetWindowLongPtrW(hwnd, DWLP_USER, (LONG_PTR)property_page);
         return FALSE;
     }
     case WM_DESTROY:






More information about the wine-patches mailing list