Michael Stefaniuc : explorerframe: Don't cast NULL.

Alexandre Julliard julliard at winehq.org
Mon Aug 16 12:24:59 CDT 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sun Aug 15 22:27:36 2010 +0200

explorerframe: Don't cast NULL.

---

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

diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c
index 5f6de53..320b67d 100644
--- a/dlls/explorerframe/nstc.c
+++ b/dlls/explorerframe/nstc.c
@@ -167,7 +167,7 @@ static IShellItem *shellitem_from_treeitem(NSTC2Impl *This, HTREEITEM hitem)
     TVITEMEXW tvi;
 
     tvi.mask = TVIF_PARAM;
-    tvi.lParam = (LPARAM)NULL;
+    tvi.lParam = 0;
     tvi.hItem = hitem;
 
     SendMessageW(This->hwnd_tv, TVM_GETITEMW, 0, (LPARAM)&tvi);




More information about the wine-cvs mailing list