Sync with trunk r43000
[reactos.git] / reactos / base / shell / explorer / shell / mainframe.cpp
index 504b61f..c68fe22 100644 (file)
@@ -422,7 +422,7 @@ int MainFrameBase::Command(int id, int code)
 
                        HINSTANCE hinst = ShellExecute(_hwnd, NULL/*operation*/, dlg.cmd/*file*/, NULL/*parameters*/, NULL/*dir*/, dlg.cmdshow);
 
-                       if ((int)hinst <= 32)
+                       if ((INT_PTR)hinst <= 32)
                                display_error(_hwnd, GetLastError());
                }
                break;}
@@ -657,7 +657,7 @@ void MainFrameBase::FillBookmarks()
        HiddenWindow hide(_hsidebar);
        WindowCanvas canvas(_hwnd);
 
-       TreeView_DeleteAllItems(_hsidebar);
+       (void)TreeView_DeleteAllItems(_hsidebar);
 
        g_Globals._icon_cache.get_icon(ICID_FAVORITES).add_to_imagelist(_himl, canvas);
        g_Globals._icon_cache.get_icon(ICID_BOOKMARK).add_to_imagelist(_himl, canvas);
@@ -678,7 +678,7 @@ void MainFrameBase::FillBookmarks()
 
        g_Globals._favorites.fill_tree(_hsidebar, hitem_bookmarks, _himl, canvas);
 
-       TreeView_Expand(_hsidebar, hitem_bookmarks, TVE_EXPAND);
+       (void)TreeView_Expand(_hsidebar, hitem_bookmarks, TVE_EXPAND);
 }