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
ab959b91
Commit
ab959b91
authored
Sep 01, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix a pointer truncation issue on 64-bit.
parent
ff1dfb42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
usrmarshal.c
dlls/oleaut32/tests/usrmarshal.c
+2
-4
No files found.
dlls/oleaut32/tests/usrmarshal.c
View file @
ab959b91
...
...
@@ -1625,8 +1625,7 @@ static void test_marshal_VARIANT(void)
wirev
=
(
DWORD
*
)
buffer
;
wirev
=
check_variant_header
(
wirev
,
&
v
,
next
-
buffer
);
ok
(
*
wirev
==
(
DWORD_PTR
)
V_UNKNOWN
(
&
v
)
/* Win9x */
||
*
wirev
==
(
DWORD_PTR
)
V_UNKNOWN
(
&
v
)
+
1
/* NT */
,
"wv[5] %08lx
\n
"
,
*
wirev
);
ok
(
*
wirev
==
(
DWORD
)(
DWORD_PTR
)
V_UNKNOWN
(
&
v
)
+
1
,
"wv[5] %08lx
\n
"
,
*
wirev
);
wirev
++
;
ok
(
*
wirev
==
next
-
buffer
-
0x20
,
"wv[6] %08lx
\n
"
,
*
wirev
);
wirev
++
;
...
...
@@ -1694,8 +1693,7 @@ static void test_marshal_VARIANT(void)
ok
(
*
wirev
==
4
,
"wv[5] %08lx
\n
"
,
*
wirev
);
wirev
++
;
ok
(
*
wirev
==
(
DWORD_PTR
)
heap_unknown
/* Win9x, Win2000 */
||
*
wirev
==
(
DWORD_PTR
)
heap_unknown
+
1
/* XP */
,
"wv[6] %08lx
\n
"
,
*
wirev
);
ok
(
*
wirev
==
(
DWORD
)(
DWORD_PTR
)
heap_unknown
+
1
,
"wv[6] %08lx
\n
"
,
*
wirev
);
wirev
++
;
ok
(
*
wirev
==
next
-
buffer
-
0x24
,
"wv[7] %08lx
\n
"
,
*
wirev
);
wirev
++
;
...
...
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