Module: wine Branch: master Commit: 04f0729d94f486a0ec188d86d22aa9bbe4c33b45 URL: https://source.winehq.org/git/wine.git/?a=commit;h=04f0729d94f486a0ec188d86d...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Jan 16 11:45:39 2021 +0100
wordpad: Make qsort callback function cdecl.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/wordpad/wordpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c index 5ba5cc857f6..d48346e3c4a 100644 --- a/programs/wordpad/wordpad.c +++ b/programs/wordpad/wordpad.c @@ -657,7 +657,7 @@ static int CALLBACK enum_font_proc(const LOGFONTW *lpelfe, const TEXTMETRICW *lp return 1; }
-static int fonts_desc_compare(const void *a, const void *b) +static int __cdecl fonts_desc_compare(const void *a, const void *b) { const struct font_desc *left = a, *right = b; return lstrcmpiW(left->name, right->name);