Module: wine Branch: master Commit: 4b69b6710a806a8234788b3c97a90a3104fbe27b URL: https://source.winehq.org/git/wine.git/?a=commit;h=4b69b6710a806a8234788b3c9...
Author: Alexandre Julliard julliard@winehq.org Date: Mon May 6 03:40:48 2019 -0500
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
---
programs/services/services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/services/services.c b/programs/services/services.c index 971be4d..0634c83 100644 --- a/programs/services/services.c +++ b/programs/services/services.c @@ -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;