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
51b6a0fe
Commit
51b6a0fe
authored
Feb 08, 2024
by
Marc-Aurel Zent
Committed by
Alexandre Julliard
Feb 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix DW_OP_abs absolute value warning on labs() for clang.
parent
48440d24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dwarf.h
dlls/ntdll/unix/dwarf.h
+1
-1
No files found.
dlls/ntdll/unix/dwarf.h
View file @
51b6a0fe
...
...
@@ -912,7 +912,7 @@ static ULONG_PTR eval_expression( const unsigned char *p, CONTEXT *context,
case
DW_OP_pick
:
stack
[
sp
+
1
]
=
stack
[
sp
-
dwarf_get_u1
(
&
p
)];
sp
++
;
break
;
case
DW_OP_swap
:
tmp
=
stack
[
sp
];
stack
[
sp
]
=
stack
[
sp
-
1
];
stack
[
sp
-
1
]
=
tmp
;
break
;
case
DW_OP_rot
:
tmp
=
stack
[
sp
];
stack
[
sp
]
=
stack
[
sp
-
1
];
stack
[
sp
-
1
]
=
stack
[
sp
-
2
];
stack
[
sp
-
2
]
=
tmp
;
break
;
case
DW_OP_abs
:
stack
[
sp
]
=
labs
(
stack
[
sp
]);
break
;
case
DW_OP_abs
:
stack
[
sp
]
=
labs
(
(
LONG_PTR
)
stack
[
sp
]);
break
;
case
DW_OP_neg
:
stack
[
sp
]
=
-
stack
[
sp
];
break
;
case
DW_OP_not
:
stack
[
sp
]
=
~
stack
[
sp
];
break
;
case
DW_OP_and
:
stack
[
sp
-
1
]
&=
stack
[
sp
];
sp
--
;
break
;
...
...
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