forked from Mirrors/wine-wine
uninstaller: Explicitly mark a qsort() callback funtion cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
4b69b6710a
commit
89cbab5d51
|
@ -46,7 +46,6 @@ static WCHAR *sFilter;
|
||||||
|
|
||||||
static int FetchUninstallInformation(void);
|
static int FetchUninstallInformation(void);
|
||||||
static void UninstallProgram(void);
|
static void UninstallProgram(void);
|
||||||
static int cmp_by_name(const void *a, const void *b);
|
|
||||||
|
|
||||||
static const WCHAR DisplayNameW[] = {'D','i','s','p','l','a','y','N','a','m','e',0};
|
static const WCHAR DisplayNameW[] = {'D','i','s','p','l','a','y','N','a','m','e',0};
|
||||||
static const WCHAR PathUninstallW[] = {
|
static const WCHAR PathUninstallW[] = {
|
||||||
|
@ -233,7 +232,7 @@ int wmain(int argc, WCHAR *argv[])
|
||||||
/**
|
/**
|
||||||
* Used to sort entries by name.
|
* Used to sort entries by name.
|
||||||
*/
|
*/
|
||||||
static int cmp_by_name(const void *a, const void *b)
|
static int __cdecl cmp_by_name(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
return lstrcmpiW(((const uninst_entry *)a)->descr, ((const uninst_entry *)b)->descr);
|
return lstrcmpiW(((const uninst_entry *)a)->descr, ((const uninst_entry *)b)->descr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue