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
c6511b00
Commit
c6511b00
authored
Jan 05, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Remove unneeded casts.
parent
d0d4c74e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
container.c
dlls/dxdiagn/container.c
+2
-2
provider.c
dlls/dxdiagn/provider.c
+1
-1
No files found.
dlls/dxdiagn/container.c
View file @
c6511b00
...
...
@@ -117,7 +117,7 @@ static HRESULT WINAPI IDxDiagContainerImpl_GetChildContainerInternal(PDXDIAGCONT
p
=
This
->
subContainers
;
while
(
NULL
!=
p
)
{
if
(
0
==
lstrcmpW
(
p
->
contName
,
pwszContainer
))
{
*
ppInstance
=
(
PDXDIAGCONTAINER
)
p
->
pCont
;
*
ppInstance
=
p
->
pCont
;
return
S_OK
;
}
p
=
p
->
next
;
...
...
@@ -159,7 +159,7 @@ static HRESULT WINAPI IDxDiagContainerImpl_GetChildContainer(PDXDIAGCONTAINER if
hr
=
IDxDiagContainerImpl_GetChildContainerInternal
(
pContainer
,
tmp
,
ppInstance
);
if
(
SUCCEEDED
(
hr
))
{
IDxDiagContainerImpl_AddRef
(
(
PDXDIAGCONTAINER
)
*
ppInstance
);
IDxDiagContainerImpl_AddRef
(
*
ppInstance
);
}
on_error:
...
...
dlls/dxdiagn/provider.c
View file @
c6511b00
...
...
@@ -112,7 +112,7 @@ static HRESULT WINAPI IDxDiagProviderImpl_GetRootContainer(PDXDIAGPROVIDER iface
if
(
FAILED
(
hr
))
{
return
hr
;
}
hr
=
DXDiag_InitRootDXDiagContainer
(
(
PDXDIAGCONTAINER
)
This
->
pRootContainer
);
hr
=
DXDiag_InitRootDXDiagContainer
(
This
->
pRootContainer
);
}
return
IDxDiagContainerImpl_QueryInterface
((
PDXDIAGCONTAINER
)
This
->
pRootContainer
,
&
IID_IDxDiagContainer
,
(
void
**
)
ppInstance
);
}
...
...
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