Commit 631f9b8d authored by Alexandre Julliard's avatar Alexandre Julliard

mfplat: Make bsearch() callback functions cdecl.

parent ea6eea0b
...@@ -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;
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment