oleview: Do not cast NULL.

Michael Stefaniuc mstefani at redhat.de
Sat Nov 1 18:26:07 CDT 2008


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

diff --git a/programs/oleview/tree.c b/programs/oleview/tree.c
index 70391d7..a6a992a 100644
--- a/programs/oleview/tree.c
+++ b/programs/oleview/tree.c
@@ -566,7 +566,7 @@ static void AddBaseEntries(void)
 
     LoadString(globals.hMainInst, IDS_TREE_OC, U(tvis).item.pszText,
             MAX_LOAD_STRING);
-    U(tvis).item.lParam = (LPARAM)NULL;
+    U(tvis).item.lParam = 0;
     tree.hOC = TreeView_InsertItem(globals.hTree, &tvis);
 
 
@@ -582,7 +582,7 @@ static void AddBaseEntries(void)
 
     LoadString(globals.hMainInst, IDS_TREE_O1O, U(tvis).item.pszText,
             MAX_LOAD_STRING);
-    U(tvis).item.lParam = (LPARAM)NULL;
+    U(tvis).item.lParam = 0;
     tree.hO1O = TreeView_InsertItem(globals.hTree, &tvis);
 
     LoadString(globals.hMainInst, IDS_TREE_GBCC, U(tvis).item.pszText,
-- 
1.6.0.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081102/8e95fa3a/attachment-0001.pgp 


More information about the wine-patches mailing list