Commit 7f0272a5 authored by Alexandre Julliard's avatar Alexandre Julliard

cmd: Explicitly mark qsort() callback funtions cdecl.

parent b4793827
...@@ -3562,7 +3562,7 @@ void WCMD_setshow_date (void) { ...@@ -3562,7 +3562,7 @@ void WCMD_setshow_date (void) {
* Note: Native displays 'fred' before 'fred ', so need to only compare up to * Note: Native displays 'fred' before 'fred ', so need to only compare up to
* the equals sign. * the equals sign.
*/ */
static int WCMD_compare( const void *a, const void *b ) static int __cdecl WCMD_compare( const void *a, const void *b )
{ {
int r; int r;
const WCHAR * const *str_a = a, * const *str_b = b; const WCHAR * const *str_a = a, * const *str_b = b;
......
...@@ -101,7 +101,7 @@ static WCHAR * WCMD_filesize64 (ULONGLONG n) { ...@@ -101,7 +101,7 @@ static WCHAR * WCMD_filesize64 (ULONGLONG n) {
* *
* Sort based on the /O options supplied on the command line * Sort based on the /O options supplied on the command line
*/ */
static int WCMD_dir_sort (const void *a, const void *b) static int __cdecl WCMD_dir_sort (const void *a, const void *b)
{ {
const WIN32_FIND_DATAW *filea = (const WIN32_FIND_DATAW *)a; const WIN32_FIND_DATAW *filea = (const WIN32_FIND_DATAW *)a;
const WIN32_FIND_DATAW *fileb = (const WIN32_FIND_DATAW *)b; const WIN32_FIND_DATAW *fileb = (const WIN32_FIND_DATAW *)b;
......
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