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
961b1a27
Commit
961b1a27
authored
Apr 04, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove a couple of interface casts.
parent
52251ac6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
compobj.c
dlls/ole32/compobj.c
+2
-2
defaulthandler.c
dlls/ole32/defaulthandler.c
+1
-1
No files found.
dlls/ole32/compobj.c
View file @
961b1a27
...
...
@@ -4952,8 +4952,8 @@ HRESULT WINAPI CoGetObjectContext(REFIID riid, void **ppv)
else
context
->
apttype
=
APTTYPE_STA
;
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
&
context
->
IComThreadingInfo_iface
,
riid
,
ppv
);
I
Unknown_Release
((
IUnknown
*
)
&
context
->
IComThreadingInfo_iface
);
hr
=
I
ComThreadingInfo_QueryInterface
(
&
context
->
IComThreadingInfo_iface
,
riid
,
ppv
);
I
ComThreadingInfo_Release
(
&
context
->
IComThreadingInfo_iface
);
return
hr
;
}
...
...
dlls/ole32/defaulthandler.c
View file @
961b1a27
...
...
@@ -2185,7 +2185,7 @@ HRESULT HandlerCF_Create(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
This
->
refs
=
0
;
This
->
clsid
=
*
rclsid
;
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
&
This
->
IClassFactory_iface
,
riid
,
ppv
);
hr
=
I
ClassFactory_QueryInterface
(
&
This
->
IClassFactory_iface
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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