Alexandre Julliard : wordpad: Make qsort callback function cdecl.

Alexandre Julliard julliard at winehq.org
Mon Jan 18 17:00:36 CST 2021


Module: wine
Branch: master
Commit: 04f0729d94f486a0ec188d86d22aa9bbe4c33b45
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=04f0729d94f486a0ec188d86d22aa9bbe4c33b45

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jan 16 11:45:39 2021 +0100

wordpad: Make qsort callback function cdecl.

Signed-off-by: Alexandre Julliard <julliard at 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);




More information about the wine-cvs mailing list