1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-03 08:19:41 +00:00

services: Explicitly mark a qsort() callback funtion cdecl.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47122
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-06 03:40:48 -05:00
parent 7f0272a59a
commit 4b69b6710a

View File

@ -322,7 +322,7 @@ static void scmdatabase_remove_service(struct scmdatabase *db, struct service_en
service->entry.next = service->entry.prev = NULL;
}
static int compare_tags(const void *a, const void *b)
static int __cdecl compare_tags(const void *a, const void *b)
{
struct service_entry *service_a = *(struct service_entry **)a;
struct service_entry *service_b = *(struct service_entry **)b;