Eric Pouech : oleaut32: Fix invalid cast.

Alexandre Julliard julliard at winehq.org
Fri Oct 29 10:58:21 CDT 2010


Module: wine
Branch: master
Commit: f6c614018b02c435a3ab8eb282225fe530dbccab
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f6c614018b02c435a3ab8eb282225fe530dbccab

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Fri Oct 29 15:39:43 2010 +0200

oleaut32: Fix invalid cast.

---

 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-cvs mailing list