Mike McCormack : taskmgr: Fix some gcc 4.1 warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 17 06:22:51 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 33bf2e581a8a70c81595ffacd5b3efb3cfcc21ee
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=33bf2e581a8a70c81595ffacd5b3efb3cfcc21ee

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Mar 17 18:37:00 2006 +0900

taskmgr: Fix some gcc 4.1 warnings.

---

 programs/taskmgr/debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/taskmgr/debug.c b/programs/taskmgr/debug.c
index 2dfab7b..e6fe8a5 100644
--- a/programs/taskmgr/debug.c
+++ b/programs/taskmgr/debug.c
@@ -55,7 +55,7 @@ void ProcessPage_OnDebug(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;




More information about the wine-cvs mailing list