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
bbfbd7ac
Commit
bbfbd7ac
authored
Dec 08, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Use dbg_lgint_t as parameter in type_print_hex.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
03f06598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
memory.c
programs/winedbg/memory.c
+3
-3
No files found.
programs/winedbg/memory.c
View file @
bbfbd7ac
...
...
@@ -360,13 +360,13 @@ static void dbg_print_longlong(LONGLONG sv, BOOL is_signed)
dbg_printf
(
"%s"
,
ptr
);
}
static
void
dbg_print_hex
(
DWORD
size
,
ULONGLONG
sv
)
static
void
dbg_print_hex
(
DWORD
size
,
dbg_lgint_t
sv
)
{
if
(
!
sv
)
dbg_printf
(
"0"
);
else
/* clear unneeded high bits, esp. sign extension */
dbg_printf
(
"%#I64x"
,
sv
&
(
~
0LLU
>>
(
64
-
8
*
size
)));
dbg_printf
(
"%#I64x"
,
sv
&
(
~
(
dbg_lguint_t
)
0
>>
(
8
*
(
sizeof
(
dbg_lgint_t
)
-
size
)
)));
}
static
void
print_typed_basic
(
const
struct
dbg_lvalue
*
lvalue
)
...
...
@@ -543,7 +543,7 @@ void print_basic(const struct dbg_lvalue* lvalue, char format)
switch
(
format
)
{
case
'x'
:
dbg_print_hex
(
size
,
(
ULONGLONG
)
res
);
dbg_print_hex
(
size
,
res
);
return
;
case
'd'
:
...
...
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