Marcin Baczyński : comctl32: Remove superfluous void* cast.

Alexandre Julliard julliard at winehq.org
Thu Jan 7 13:08:35 CST 2010


Module: wine
Branch: master
Commit: 9e951e8d14df8d1415eb8c64e5310668deb4e84d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9e951e8d14df8d1415eb8c64e5310668deb4e84d

Author: Marcin Baczyński <marbacz at gmail.com>
Date:   Wed Jan  6 23:38:28 2010 +0100

comctl32: Remove superfluous void* cast.

---

 dlls/comctl32/listview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index d98b108..d21935f 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -7464,7 +7464,7 @@ static INT LISTVIEW_InsertItemT(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVItem,
         while (i < infoPtr->nItemCount)
         {
             hItem  = DPA_GetPtr( infoPtr->hdpaItems, i);
-            item_s = (ITEM_INFO*)DPA_GetPtr(hItem, 0);
+            item_s = DPA_GetPtr(hItem, 0);
 
             cmpv = textcmpWT(item_s->hdr.pszText, lpLVItem->pszText, isW);
             if (infoPtr->dwStyle & LVS_SORTDESCENDING) cmpv *= -1;




More information about the wine-cvs mailing list