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
eb2e9271
Commit
eb2e9271
authored
Dec 26, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr90: Fix compilation warning in __AdjustPointer tests.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cfcc2809
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
msvcr90.c
dlls/msvcr90/tests/msvcr90.c
+10
-7
No files found.
dlls/msvcr90/tests/msvcr90.c
View file @
eb2e9271
...
...
@@ -1475,9 +1475,12 @@ static void test_is_exception_typeof(void)
static
void
test__AdjustPointer
(
void
)
{
int
off
=
0xf0
;
void
*
obj1
=
&
off
;
void
*
obj2
=
(
char
*
)
&
off
-
2
;
struct
{
int
vbase
;
int
off
;
}
obj
=
{
0
,
0xf0
};
void
*
obj1
=
&
obj
.
off
;
void
*
obj2
=
&
obj
;
struct
test_data
{
void
*
ptr
;
void
*
ret
;
...
...
@@ -1490,10 +1493,10 @@ static void test__AdjustPointer(void)
{
NULL
,
NULL
,
{
0
,
-
1
,
0
}},
{(
void
*
)
0xbeef
,
(
void
*
)
0xbef0
,
{
1
,
-
1
,
1
}},
{(
void
*
)
0xbeef
,
(
void
*
)
0xbeee
,
{
-
1
,
-
1
,
0
}},
{
&
obj1
,
(
char
*
)
&
obj1
+
off
,
{
0
,
0
,
0
}},
{(
char
*
)
&
obj1
-
5
,
(
char
*
)
&
obj1
+
off
,
{
0
,
5
,
0
}},
{(
char
*
)
&
obj1
-
3
,
(
char
*
)
&
obj1
+
off
+
24
,
{
24
,
3
,
0
}},
{(
char
*
)
&
obj2
-
17
,
(
char
*
)
&
obj2
+
o
ff
+
4
,
{
4
,
17
,
2
}}
{
&
obj1
,
(
char
*
)
&
obj1
+
o
bj
.
o
ff
,
{
0
,
0
,
0
}},
{(
char
*
)
&
obj1
-
5
,
(
char
*
)
&
obj1
+
o
bj
.
o
ff
,
{
0
,
5
,
0
}},
{(
char
*
)
&
obj1
-
3
,
(
char
*
)
&
obj1
+
o
bj
.
o
ff
+
24
,
{
24
,
3
,
0
}},
{(
char
*
)
&
obj2
-
17
,
(
char
*
)
&
obj2
+
o
bj
.
off
+
4
,
{
4
,
17
,
sizeof
(
int
)
}}
};
void
*
ret
;
int
i
;
...
...
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