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
3b6cab3f
Commit
3b6cab3f
authored
Jan 09, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Only compare the initialized part of DECIMAL variants.
parent
9d8c6326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vartest.c
dlls/oleaut32/tests/vartest.c
+2
-2
No files found.
dlls/oleaut32/tests/vartest.c
View file @
3b6cab3f
...
...
@@ -2838,7 +2838,7 @@ static void test_VarFix(void)
S1
(
U1
(
*
pdec
)).
Mid32
=
0
;
S1
(
U1
(
*
pdec
)).
Lo32
=
1
;
hres
=
pVarFix
(
&
v
,
&
vDst
);
ok
(
hres
==
S_OK
&&
V_VT
(
&
vDst
)
==
VT_DECIMAL
&&
!
memcmp
(
&
v
,
&
vDst
,
sizeof
(
v
)),
ok
(
hres
==
S_OK
&&
V_VT
(
&
vDst
)
==
VT_DECIMAL
&&
!
memcmp
(
&
V_DECIMAL
(
&
v
),
&
V_DECIMAL
(
&
vDst
),
sizeof
(
DECIMAL
)),
"VarFix: expected 0x0,%d,identical, got 0x%X,%d
\n
"
,
VT_DECIMAL
,
hres
,
V_VT
(
&
vDst
));
...
...
@@ -2953,7 +2953,7 @@ static void test_VarInt(void)
S1
(
U1
(
*
pdec
)).
Mid32
=
0
;
S1
(
U1
(
*
pdec
)).
Lo32
=
1
;
hres
=
pVarInt
(
&
v
,
&
vDst
);
ok
(
hres
==
S_OK
&&
V_VT
(
&
vDst
)
==
VT_DECIMAL
&&
!
memcmp
(
&
v
,
&
vDst
,
sizeof
(
v
)),
ok
(
hres
==
S_OK
&&
V_VT
(
&
vDst
)
==
VT_DECIMAL
&&
!
memcmp
(
&
V_DECIMAL
(
&
v
),
&
V_DECIMAL
(
&
vDst
),
sizeof
(
DECIMAL
)),
"VarInt: expected 0x0,%d,identical, got 0x%X,%d
\n
"
,
VT_DECIMAL
,
hres
,
V_VT
(
&
vDst
));
...
...
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