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
631f9b8d
Commit
631f9b8d
authored
Aug 22, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Make bsearch() callback functions cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea6eea0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.c
dlls/mfplat/main.c
+2
-2
mediatype.c
dlls/mfplat/mediatype.c
+1
-1
No files found.
dlls/mfplat/main.c
View file @
631f9b8d
...
@@ -606,7 +606,7 @@ struct guid_def
...
@@ -606,7 +606,7 @@ struct guid_def
const
char
*
name
;
const
char
*
name
;
};
};
static
int
debug_compare_guid
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
debug_compare_guid
(
const
void
*
a
,
const
void
*
b
)
{
{
const
GUID
*
guid
=
a
;
const
GUID
*
guid
=
a
;
const
struct
guid_def
*
guid_def
=
b
;
const
struct
guid_def
*
guid_def
=
b
;
...
@@ -946,7 +946,7 @@ struct event_id
...
@@ -946,7 +946,7 @@ struct event_id
const
char
*
name
;
const
char
*
name
;
};
};
static
int
debug_event_id
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
debug_event_id
(
const
void
*
a
,
const
void
*
b
)
{
{
const
DWORD
*
id
=
a
;
const
DWORD
*
id
=
a
;
const
struct
event_id
*
event_id
=
b
;
const
struct
event_id
*
event_id
=
b
;
...
...
dlls/mfplat/mediatype.c
View file @
631f9b8d
...
@@ -1735,7 +1735,7 @@ struct uncompressed_video_format
...
@@ -1735,7 +1735,7 @@ struct uncompressed_video_format
unsigned
int
bytes_per_pixel
;
unsigned
int
bytes_per_pixel
;
};
};
static
int
uncompressed_video_format_compare
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
uncompressed_video_format_compare
(
const
void
*
a
,
const
void
*
b
)
{
{
const
GUID
*
guid
=
a
;
const
GUID
*
guid
=
a
;
const
struct
uncompressed_video_format
*
format
=
b
;
const
struct
uncompressed_video_format
*
format
=
b
;
...
...
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