Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0566ba9a
Commit
0566ba9a
authored
Sep 11, 2019
by
Alex Henrie
Committed by
Alexandre Julliard
Sep 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix dependence on undefined left-shift behavior (scan-build).
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f3c9fdf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
be_x86_64.c
programs/winedbg/be_x86_64.c
+1
-1
No files found.
programs/winedbg/be_x86_64.c
View file @
0566ba9a
...
...
@@ -640,7 +640,7 @@ static BOOL be_x86_64_fetch_integer(const struct dbg_lvalue* lvalue, unsigned si
if
(
!
memory_read_value
(
lvalue
,
size
,
ret
))
return
FALSE
;
/* propagate sign information */
if
(
is_signed
&&
size
<
16
&&
(
*
ret
>>
(
size
*
8
-
1
))
!=
0
)
if
(
is_signed
&&
size
<
sizeof
(
*
ret
)
&&
(
*
ret
>>
(
size
*
8
-
1
))
!=
0
)
{
ULONGLONG
neg
=
-
1
;
*
ret
|=
neg
<<
(
size
*
8
);
...
...
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