From 87785a2df0b7f31344252a6ea970fbbddcc8715b Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 2 Nov 2008 00:26:07 +0100 Subject: [PATCH] oleview: Do not cast NULL. --- programs/oleview/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/oleview/tree.c b/programs/oleview/tree.c index 70391d7166d..a6a992ad26f 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, -- 2.11.4.GIT