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
17fbef91
Commit
17fbef91
authored
Mar 30, 2023
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmvcore/tests: Don't cast NULL to another pointer type.
parent
0a2cfe90
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+3
-3
No files found.
dlls/wmvcore/tests/wmvcore.c
View file @
17fbef91
...
...
@@ -3185,7 +3185,7 @@ static void test_async_reader_settings(void)
WMT_TYPE_DWORD
,
0
,
E_INVALIDARG
);
SetEvent
(
callback
.
expect_started
);
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
,
(
void
**
)
NULL
);
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
,
NULL
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
hr
=
IWMReader_Close
(
reader
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
...
...
@@ -3259,7 +3259,7 @@ static void test_async_reader_streaming(void)
ok
(
!
ref
,
"Got outstanding refcount %ld.
\n
"
,
ref
);
}
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
.
0
f
,
(
void
*
)
NULL
);
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
.
0
f
,
NULL
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
wait_started_callback
(
&
callback
);
...
...
@@ -3296,7 +3296,7 @@ static void test_async_reader_streaming(void)
callback
.
last_pts
[
1
]
=
0
;
callback
.
next_pts
[
1
]
=
0
;
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
.
0
f
,
(
void
*
)
NULL
);
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
.
0
f
,
NULL
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
wait_started_callback
(
&
callback
);
...
...
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