Jay Yang : explorer: Fix incorrect cast.

Alexandre Julliard julliard at winehq.org
Tue Jul 5 12:59:07 CDT 2011


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

Author: Jay Yang <jkelleyy at gmail.com>
Date:   Tue Jul  5 13:17:45 2011 -0400

explorer: Fix incorrect cast.

---

 programs/explorer/explorer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index e42065f..60f4157 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -346,7 +346,7 @@ static void make_explorer_window(IShellFolder* startFolder)
 
     IExplorerBrowser_Initialize(info->browser,info->main_window,&explorerRect,&fs);
     IExplorerBrowser_SetOptions(info->browser,EBO_SHOWFRAMES);
-    SetWindowLongPtrW(info->main_window,EXPLORER_INFO_INDEX,(LONG)info);
+    SetWindowLongPtrW(info->main_window,EXPLORER_INFO_INDEX,(LONG_PTR)info);
 
     /*setup navbar*/
     rebar = CreateWindowExW(WS_EX_TOOLWINDOW,REBARCLASSNAMEW,NULL,




More information about the wine-cvs mailing list