Commit 3be0cc81 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

taskmgr: Fix some gcc 4.1 warnings.

parent 01d99121
......@@ -49,7 +49,7 @@ void ProcessPage_OnSetAffinity(void)
lvitem.mask = LVIF_STATE;
lvitem.stateMask = LVIS_SELECTED;
lvitem.iItem = Index;
ListView_GetItem(hProcessPageListCtrl, &lvitem);
SendMessage(hProcessPageListCtrl, LVM_GETITEM, 0, (LPARAM) &lvitem);
if (lvitem.state & LVIS_SELECTED)
break;
}
......
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