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
013e5de8
Commit
013e5de8
authored
Jan 16, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr: Make qsort and bsearch callback functions cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
04f0729d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mixer.c
dlls/evr/mixer.c
+3
-3
No files found.
dlls/evr/mixer.c
View file @
013e5de8
...
...
@@ -159,7 +159,7 @@ static struct video_mixer *impl_from_IMFClockStateSink(IMFClockStateSink *iface)
return
CONTAINING_RECORD
(
iface
,
struct
video_mixer
,
IMFClockStateSink_iface
);
}
static
int
video_mixer_compare_input_id
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
video_mixer_compare_input_id
(
const
void
*
a
,
const
void
*
b
)
{
const
unsigned
int
*
key
=
a
;
const
struct
input_stream
*
input
=
b
;
...
...
@@ -509,7 +509,7 @@ static HRESULT WINAPI video_mixer_transform_DeleteInputStream(IMFTransform *ifac
return
hr
;
}
static
int
video_mixer_add_input_sort_compare
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
video_mixer_add_input_sort_compare
(
const
void
*
a
,
const
void
*
b
)
{
const
struct
input_stream
*
left
=
a
,
*
right
=
b
;
return
left
->
id
!=
right
->
id
?
(
left
->
id
<
right
->
id
?
-
1
:
1
)
:
0
;
...
...
@@ -643,7 +643,7 @@ done:
return
hr
;
}
static
int
rt_formats_sort_compare
(
const
void
*
left
,
const
void
*
right
)
static
int
__cdecl
rt_formats_sort_compare
(
const
void
*
left
,
const
void
*
right
)
{
const
struct
rt_format
*
format1
=
left
,
*
format2
=
right
;
...
...
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