Commit 89cbab5d authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4b69b671
......@@ -46,7 +46,6 @@ static WCHAR *sFilter;
static int FetchUninstallInformation(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 PathUninstallW[] = {
......@@ -233,7 +232,7 @@ int wmain(int argc, WCHAR *argv[])
/**
* 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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment