Author: cwittich
Date: Sun Sep 21 01:52:54 2008
New Revision: 36366
URL:
http://svn.reactos.org/svn/reactos?rev=36366&view=rev
Log:
fix wrong casts
Modified:
trunk/rosapps/applications/downloader/main.c
Modified: trunk/rosapps/applications/downloader/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/downloader/ma…
==============================================================================
--- trunk/rosapps/applications/downloader/main.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/downloader/main.c [iso-8859-1] Sun Sep 21 01:52:54 2008
@@ -81,7 +81,7 @@
{
TV_INSERTSTRUCTW Insert;
- Insert.item.lParam = (UINT)Category;
+ Insert.item.lParam = (LPARAM)Category;
Insert.item.mask = TVIF_TEXT|TVIF_PARAM|TVIF_IMAGE|TVIF_SELECTEDIMAGE;;
Insert.item.pszText = Category->Name;
Insert.item.cchTextMax = lstrlenW(Category->Name);
@@ -126,7 +126,7 @@
CurrentApplication = Category->Apps;
while(CurrentApplication)
{
- Insert.item.lParam = (UINT)CurrentApplication;
+ Insert.item.lParam = (LPARAM)CurrentApplication;
Insert.item.pszText = CurrentApplication->Name;
Insert.item.cchTextMax = lstrlenW(CurrentApplication->Name);
Insert.item.iImage = 10;