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
170f7f8d
Commit
170f7f8d
authored
Jan 20, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
objsel: Remove superfluous pointer casts.
parent
ba771f0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
factory.c
dlls/objsel/factory.c
+1
-1
objsel.c
dlls/objsel/objsel.c
+1
-1
No files found.
dlls/objsel/factory.c
View file @
170f7f8d
...
@@ -41,7 +41,7 @@ static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface(
...
@@ -41,7 +41,7 @@ static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface(
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IClassFactory
))
IsEqualGUID
(
riid
,
&
IID_IClassFactory
))
{
{
*
ppvObj
=
(
LPVOID
)
iface
;
*
ppvObj
=
iface
;
IClassFactory_AddRef
(
iface
);
IClassFactory_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/objsel/objsel.c
View file @
170f7f8d
...
@@ -142,7 +142,7 @@ static HRESULT WINAPI OBJSEL_IDsObjectPicker_QueryInterface(
...
@@ -142,7 +142,7 @@ static HRESULT WINAPI OBJSEL_IDsObjectPicker_QueryInterface(
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDsObjectPicker
))
IsEqualGUID
(
riid
,
&
IID_IDsObjectPicker
))
{
{
*
ppvObj
=
(
LPVOID
)
iface
;
*
ppvObj
=
iface
;
OBJSEL_IDsObjectPicker_AddRef
(
iface
);
OBJSEL_IDsObjectPicker_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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