comctl32: Get rid of some incorrect casts.
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index cab119a..5ee4b2b 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -6740,7 +6740,7 @@
hdi.mask = HDI_TEXT;
hdi.cchTextMax = DISP_TEXT_SIZE;
hdi.pszText = szDispText;
- if (Header_GetItemW(infoPtr->hwndHeader, nColumn, (LPARAM)&hdi))
+ if (Header_GetItemW(infoPtr->hwndHeader, nColumn, &hdi))
{
HDC hdc = GetDC(infoPtr->hwndSelf);
HFONT old_font = SelectObject(hdc, (HFONT)SendMessageW(infoPtr->hwndHeader, WM_GETFONT, 0, 0));
@@ -6762,7 +6762,7 @@
hdi.mask = HDI_WIDTH;
hdi.cxy = cx;
TRACE("hdi.cxy=%d\n", hdi.cxy);
- return Header_SetItemW(infoPtr->hwndHeader, nColumn, (LPARAM)&hdi);
+ return Header_SetItemW(infoPtr->hwndHeader, nColumn, &hdi);
}
/***
@@ -8385,7 +8385,7 @@
HDITEMW hdi;
hdi.mask = HDI_WIDTH;
- if (!Header_GetItemW(infoPtr->hwndHeader, lpnmh->iItem, (LPARAM)&hdi)) return 0;
+ if (!Header_GetItemW(infoPtr->hwndHeader, lpnmh->iItem, &hdi)) return 0;
cxy = hdi.cxy;
}
else