mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 01:22:05 +00:00
fix wrong casts
svn path=/trunk/; revision=36366
This commit is contained in:
parent
295baae2f3
commit
463ffc2132
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ AddItems(HWND hwnd, struct Category* Category, struct Category* Parent)
|
|||
{
|
||||
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 @@ CategoryChoosen(HWND hwnd, struct Category* Category)
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue