Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7f0272a5
Commit
7f0272a5
authored
May 06, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Explicitly mark qsort() callback funtions cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b4793827
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
builtins.c
programs/cmd/builtins.c
+1
-1
directory.c
programs/cmd/directory.c
+1
-1
No files found.
programs/cmd/builtins.c
View file @
7f0272a5
...
@@ -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
;
...
...
programs/cmd/directory.c
View file @
7f0272a5
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment