Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fd3be665
Commit
fd3be665
authored
Sep 15, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Sep 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Use V_INT instead of V_UNION.
parent
fbcd6422
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+2
-2
No files found.
dlls/oleaut32/typelib.c
View file @
fd3be665
...
...
@@ -3146,7 +3146,7 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
sizeof
(
VARIANT
));
V_VT
((
*
ppVarDesc
)
->
vardesc
.
u
.
lpvarValue
)
=
VT_INT
;
if
(
pItem
->
flags
&
0x08
)
V_
UNION
((
*
ppVarDesc
)
->
vardesc
.
u
.
lpvarValue
,
intVal
)
=
pItem
->
byte_offs
;
V_
INT
((
*
ppVarDesc
)
->
vardesc
.
u
.
lpvarValue
)
=
pItem
->
byte_offs
;
else
{
switch
((
*
ppVarDesc
)
->
vardesc
.
elemdescVar
.
tdesc
.
vt
)
{
...
...
@@ -3174,7 +3174,7 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
case
VT_UI4
:
case
VT_INT
:
case
VT_UINT
:
V_
UNION
((
*
ppVarDesc
)
->
vardesc
.
u
.
lpvarValue
,
intVal
)
=
V_
INT
((
*
ppVarDesc
)
->
vardesc
.
u
.
lpvarValue
)
=
*
(
INT
*
)(
pBlk
+
pItem
->
byte_offs
);
break
;
default:
...
...
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