From 83b94fc80400e04dc18b5878dac9ca69007d1976 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 17 Mar 2006 18:37:11 +0900 Subject: [PATCH] taskmgr: Fix some gcc 4.1 warnings. --- programs/taskmgr/endproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/taskmgr/endproc.c b/programs/taskmgr/endproc.c index 13853f6164b..7d324776a92 100644 --- a/programs/taskmgr/endproc.c +++ b/programs/taskmgr/endproc.c @@ -49,7 +49,7 @@ void ProcessPage_OnEndProcess(void) lvitem.stateMask = LVIS_SELECTED; lvitem.iItem = Index; - ListView_GetItem(hProcessPageListCtrl, &lvitem); + SendMessage(hProcessPageListCtrl, LVM_GETITEM, 0, (LPARAM) &lvitem); if (lvitem.state & LVIS_SELECTED) break; @@ -97,7 +97,7 @@ void ProcessPage_OnEndProcessTree(void) lvitem.stateMask = LVIS_SELECTED; lvitem.iItem = Index; - ListView_GetItem(hProcessPageListCtrl, &lvitem); + SendMessage(hProcessPageListCtrl, LVM_GETITEM, 0, (LPARAM) &lvitem); if (lvitem.state & LVIS_SELECTED) break;