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
2724adae
Commit
2724adae
authored
Jan 21, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Remove superfluous pointer casts.
parent
1dc371c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
filtergraph.c
dlls/quartz/tests/filtergraph.c
+12
-12
filtermapper.c
dlls/quartz/tests/filtermapper.c
+1
-1
No files found.
dlls/quartz/tests/filtergraph.c
View file @
2724adae
...
...
@@ -400,9 +400,9 @@ static HRESULT WINAPI IEnumMediaTypesImpl_QueryInterface(IEnumMediaTypes * iface
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IEnumMediaTypes
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
if
(
*
ppv
)
{
...
...
@@ -535,9 +535,9 @@ static HRESULT WINAPI TestFilter_Pin_QueryInterface(IPin * iface, REFIID riid,
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IPin
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
if
(
*
ppv
)
{
...
...
@@ -912,9 +912,9 @@ static HRESULT WINAPI IEnumPinsImpl_QueryInterface(IEnumPins * iface, REFIID rii
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IEnumPins
))
*
ppv
=
(
LPVOID
)
iface
;
*
ppv
=
iface
;
if
(
*
ppv
)
{
...
...
@@ -1121,7 +1121,7 @@ static HRESULT TestFilter_Create(const CLSID* pClsid, const TestFilterPinData *p
}
pTestFilter
->
nPins
=
nPins
;
*
ppv
=
(
LPVOID
)
pTestFilter
;
*
ppv
=
pTestFilter
;
return
S_OK
;
error:
...
...
@@ -1147,13 +1147,13 @@ static HRESULT WINAPI TestFilter_QueryInterface(IBaseFilter * iface, REFIID riid
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
This
;
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersist
))
*
ppv
=
(
LPVOID
)
This
;
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaFilter
))
*
ppv
=
(
LPVOID
)
This
;
*
ppv
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IBaseFilter
))
*
ppv
=
(
LPVOID
)
This
;
*
ppv
=
This
;
if
(
*
ppv
)
{
...
...
@@ -1359,7 +1359,7 @@ static HRESULT WINAPI Test_IClassFactory_QueryInterface(
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IClassFactory
))
{
*
ppvObj
=
(
LPVOID
)
iface
;
*
ppvObj
=
iface
;
IClassFactory_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/quartz/tests/filtermapper.c
View file @
2724adae
...
...
@@ -59,7 +59,7 @@ static BOOL enum_find_filter(const WCHAR *wszFilterName, IEnumMoniker *pEnum)
{
CHAR
val1
[
512
],
val2
[
512
];
WideCharToMultiByte
(
CP_ACP
,
0
,
(
WCHAR
*
)
V_UNION
(
&
var
,
bstrVal
),
-
1
,
val1
,
sizeof
(
val1
),
0
,
0
);
WideCharToMultiByte
(
CP_ACP
,
0
,
V_UNION
(
&
var
,
bstrVal
),
-
1
,
val1
,
sizeof
(
val1
),
0
,
0
);
WideCharToMultiByte
(
CP_ACP
,
0
,
wszFilterName
,
-
1
,
val2
,
sizeof
(
val2
),
0
,
0
);
if
(
!
lstrcmpA
(
val1
,
val2
))
found
=
TRUE
;
}
...
...
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