Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fc46bb14
Commit
fc46bb14
authored
Feb 06, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Remove superfluous pointer casts.
parent
5c91d535
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
dpa.c
dlls/comctl32/tests/dpa.c
+1
-1
header.c
dlls/comctl32/tests/header.c
+2
-2
tab.c
dlls/comctl32/tests/tab.c
+1
-1
trackbar.c
dlls/comctl32/tests/trackbar.c
+2
-2
No files found.
dlls/comctl32/tests/dpa.c
View file @
fc46bb14
...
...
@@ -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
);
...
...
dlls/comctl32/tests/header.c
View file @
fc46bb14
...
...
@@ -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
);
...
...
dlls/comctl32/tests/tab.c
View file @
fc46bb14
...
...
@@ -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
;
}
...
...
dlls/comctl32/tests/trackbar.c
View file @
fc46bb14
...
...
@@ -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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment