mfplat: Make bsearch() callback functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ea6eea0bba
commit
631f9b8d5f
|
@ -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
|
||||||
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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue