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
0163db51
Commit
0163db51
authored
Apr 07, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Make qsort callback explicitly cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f84cc45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-1
symbol.c
dlls/dbghelp/symbol.c
+1
-1
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
0163db51
...
...
@@ -720,7 +720,7 @@ extern DWORD64 sw_module_base(struct cpu_stack_walk* csw, DWORD64 addr) DEC
extern
const
char
*
symt_get_name
(
const
struct
symt
*
sym
)
DECLSPEC_HIDDEN
;
extern
WCHAR
*
symt_get_nameW
(
const
struct
symt
*
sym
)
DECLSPEC_HIDDEN
;
extern
BOOL
symt_get_address
(
const
struct
symt
*
type
,
ULONG64
*
addr
)
DECLSPEC_HIDDEN
;
extern
int
symt_cmp_addr
(
const
void
*
p1
,
const
void
*
p2
)
DECLSPEC_HIDDEN
;
extern
int
__cdecl
symt_cmp_addr
(
const
void
*
p1
,
const
void
*
p2
)
DECLSPEC_HIDDEN
;
extern
void
copy_symbolW
(
SYMBOL_INFOW
*
siw
,
const
SYMBOL_INFO
*
si
)
DECLSPEC_HIDDEN
;
extern
struct
symt_ht
*
symt_find_nearest
(
struct
module
*
module
,
DWORD_PTR
addr
)
DECLSPEC_HIDDEN
;
...
...
dlls/dbghelp/symbol.c
View file @
0163db51
...
...
@@ -51,7 +51,7 @@ static inline int cmp_sorttab_addr(struct module* module, int idx, ULONG64 addr)
return
cmp_addr
(
ref
,
addr
);
}
int
symt_cmp_addr
(
const
void
*
p1
,
const
void
*
p2
)
int
__cdecl
symt_cmp_addr
(
const
void
*
p1
,
const
void
*
p2
)
{
const
struct
symt
*
sym1
=
*
(
const
struct
symt
*
const
*
)
p1
;
const
struct
symt
*
sym2
=
*
(
const
struct
symt
*
const
*
)
p2
;
...
...
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