Module: wine Branch: master Commit: 87785a2df0b7f31344252a6ea970fbbddcc8715b URL: http://source.winehq.org/git/wine.git/?a=commit;h=87785a2df0b7f31344252a6ea9...
Author: Michael Stefaniuc mstefani@redhat.de Date: Sun Nov 2 00:26:07 2008 +0100
oleview: Do not cast NULL.
---
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,