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
70a84724
Commit
70a84724
authored
Dec 13, 2022
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Avoid casting an object to IUnknown.
Cast its interface member to IUnknown instead.
parent
4ec4bdff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cproxy.c
dlls/rpcrt4/cproxy.c
+1
-1
No files found.
dlls/rpcrt4/cproxy.c
View file @
70a84724
...
@@ -332,7 +332,7 @@ HRESULT StdProxy_Construct(REFIID riid,
...
@@ -332,7 +332,7 @@ HRESULT StdProxy_Construct(REFIID riid,
This
=
calloc
(
1
,
sizeof
(
StdProxyImpl
));
This
=
calloc
(
1
,
sizeof
(
StdProxyImpl
));
if
(
!
This
)
return
E_OUTOFMEMORY
;
if
(
!
This
)
return
E_OUTOFMEMORY
;
if
(
!
pUnkOuter
)
pUnkOuter
=
(
IUnknown
*
)
This
;
if
(
!
pUnkOuter
)
pUnkOuter
=
(
IUnknown
*
)
&
This
->
IRpcProxyBuffer_iface
;
This
->
IRpcProxyBuffer_iface
.
lpVtbl
=
&
StdProxy_Vtbl
;
This
->
IRpcProxyBuffer_iface
.
lpVtbl
=
&
StdProxy_Vtbl
;
This
->
PVtbl
=
vtbl
->
Vtbl
;
This
->
PVtbl
=
vtbl
->
Vtbl
;
/* one reference for the proxy */
/* one reference for the proxy */
...
...
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