cmd: Explicitly mark qsort() callback funtions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b479382737
commit
7f0272a59a
|
@ -3562,7 +3562,7 @@ void WCMD_setshow_date (void) {
|
|||
* Note: Native displays 'fred' before 'fred ', so need to only compare up to
|
||||
* 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;
|
||||
const WCHAR * const *str_a = a, * const *str_b = b;
|
||||
|
|
|
@ -101,7 +101,7 @@ static WCHAR * WCMD_filesize64 (ULONGLONG n) {
|
|||
*
|
||||
* 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 *fileb = (const WIN32_FIND_DATAW *)b;
|
||||
|
|
Loading…
Reference in New Issue