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
4ee85145
Commit
4ee85145
authored
Oct 01, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Silence some Win64 compile warnings.
"warning: cast to pointer from integer of different size"
parent
e8128648
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dpa.c
dlls/comctl32/tests/dpa.c
+6
-6
No files found.
dlls/comctl32/tests/dpa.c
View file @
4ee85145
...
...
@@ -380,9 +380,9 @@ static void test_DPA_Merge(void)
for
(
i
=
0
;
i
<
6
;
i
++
)
{
ret
=
pDPA_InsertPtr
(
dpa2
,
i
,
(
PVOID
)(
6
-
i
));
ret
=
pDPA_InsertPtr
(
dpa2
,
i
,
(
PVOID
)(
INT_PTR
)(
6
-
i
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
ret
=
pDPA_InsertPtr
(
dpa3
,
i
,
(
PVOID
)(
i
+
1
));
ret
=
pDPA_InsertPtr
(
dpa3
,
i
,
(
PVOID
)(
INT_PTR
)(
i
+
1
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
}
...
...
@@ -404,7 +404,7 @@ static void test_DPA_Merge(void)
for
(
i
=
0
;
i
<
6
;
i
++
)
{
ret
=
pDPA_InsertPtr
(
dpa2
,
i
,
(
PVOID
)(
6
-
i
));
ret
=
pDPA_InsertPtr
(
dpa2
,
i
,
(
PVOID
)(
INT_PTR
)(
6
-
i
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
}
...
...
@@ -497,7 +497,7 @@ static void test_DPA_EnumCallback(void)
for
(
i
=
0
;
i
<
6
;
i
++
)
{
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
i
+
1
));
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
INT_PTR
)(
i
+
1
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
}
...
...
@@ -529,7 +529,7 @@ static void test_DPA_DestroyCallback(void)
for
(
i
=
0
;
i
<
3
;
i
++
)
{
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
i
+
1
));
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
INT_PTR
)(
i
+
1
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
}
...
...
@@ -706,7 +706,7 @@ if (0) {
/* saving/loading */
for
(
i
=
0
;
i
<
6
;
i
++
)
{
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
i
+
1
));
ret
=
pDPA_InsertPtr
(
dpa
,
i
,
(
PVOID
)(
INT_PTR
)(
i
+
1
));
ok
(
ret
==
i
,
"ret=%d
\n
"
,
ret
);
}
...
...
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