Commit fc46bb14 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

comctl32/tests: Remove superfluous pointer casts.

parent 5c91d535
......@@ -373,7 +373,7 @@ static void test_dpa(void)
if(pDPA_EnumCallback)
{
nEnum = 0;
pDPA_EnumCallback(dpa2, CB_EnumFirstThree, (PVOID)dpa2);
pDPA_EnumCallback(dpa2, CB_EnumFirstThree, dpa2);
rc=CheckDPA(dpa2, 0x777456, &dw2);
ok(rc, "dw=0x%x\n", dw2);
ok(nEnum == 3, "nEnum=%d\n", nEnum);
......
......@@ -1159,10 +1159,10 @@ static void test_hdm_index_messages(HWND hParent)
flush_sequences(sequences, NUM_MSG_SEQUENCES);
iSize = SendMessage(hChild, HDM_GETITEMCOUNT, 0, (LPARAM) &hdItem);
retVal = SendMessage(hChild, HDM_SETORDERARRAY, (WPARAM) iSize , (LPARAM) (LPINT) lpiarray );
retVal = SendMessage(hChild, HDM_SETORDERARRAY, iSize, (LPARAM) lpiarray);
ok(retVal == TRUE, "Setting header items order should return TRUE, got %d\n", retVal);
retVal = SendMessage(hChild, HDM_GETORDERARRAY, (WPARAM) iSize, (LPARAM) (LPINT) lpiarrayReceived );
retVal = SendMessage(hChild, HDM_GETORDERARRAY, iSize, (LPARAM) lpiarrayReceived);
ok(retVal == TRUE, "Getting header items order should return TRUE, got %d\n", retVal);
ok_sequence(sequences, HEADER_SEQ_INDEX, orderArray_seq, "set_get_orderArray sequence testing", FALSE);
......
......@@ -492,7 +492,7 @@ static HWND create_tooltip (HWND hTab, char toolTipText[])
ti.rect = rect;
/* Add toolinfo structure to the tooltip control */
SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) (LPTOOLINFO) &ti);
SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) &ti);
return hwndTT;
}
......
......@@ -511,7 +511,7 @@ static void test_trackbar_buddy(HWND hWndTrackbar){
flush_sequences(sequences, NUM_MSG_SEQUENCE);
hWndLeftBuddy = (HWND) CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
hWndLeftBuddy = CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
0,0,300,20, NULL, NULL, NULL, NULL);
ok(hWndLeftBuddy != NULL, "Expected non NULL value\n");
......@@ -524,7 +524,7 @@ static void test_trackbar_buddy(HWND hWndTrackbar){
} else
skip ("left buddy control not present?\n");
hWndRightBuddy = (HWND) CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
hWndRightBuddy = CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
0,0,300,20,NULL,NULL, NULL, NULL);
ok(hWndRightBuddy != NULL, "expected non NULL value\n");
......
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