Commit 87785a2d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

oleview: Do not cast NULL.

parent 79e31f6d
...@@ -566,7 +566,7 @@ static void AddBaseEntries(void) ...@@ -566,7 +566,7 @@ static void AddBaseEntries(void)
LoadString(globals.hMainInst, IDS_TREE_OC, U(tvis).item.pszText, LoadString(globals.hMainInst, IDS_TREE_OC, U(tvis).item.pszText,
MAX_LOAD_STRING); MAX_LOAD_STRING);
U(tvis).item.lParam = (LPARAM)NULL; U(tvis).item.lParam = 0;
tree.hOC = TreeView_InsertItem(globals.hTree, &tvis); tree.hOC = TreeView_InsertItem(globals.hTree, &tvis);
...@@ -582,7 +582,7 @@ static void AddBaseEntries(void) ...@@ -582,7 +582,7 @@ static void AddBaseEntries(void)
LoadString(globals.hMainInst, IDS_TREE_O1O, U(tvis).item.pszText, LoadString(globals.hMainInst, IDS_TREE_O1O, U(tvis).item.pszText,
MAX_LOAD_STRING); MAX_LOAD_STRING);
U(tvis).item.lParam = (LPARAM)NULL; U(tvis).item.lParam = 0;
tree.hO1O = TreeView_InsertItem(globals.hTree, &tvis); tree.hO1O = TreeView_InsertItem(globals.hTree, &tvis);
LoadString(globals.hMainInst, IDS_TREE_GBCC, U(tvis).item.pszText, LoadString(globals.hMainInst, IDS_TREE_GBCC, U(tvis).item.pszText,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment