8 Feb
2024
8 Feb
'24
12:41 p.m.
Fixes the following warning on clang-15: ``` dlls/ntdll/unix/dwarf.h:915:45: warning: taking the absolute value of unsigned type 'ULONG_PTR' (aka 'unsigned long') has no effect [-Wabsolute-value] case DW_OP_abs: stack[sp] = labs(stack[sp]); break; ^ dlls/ntdll/unix/dwarf.h:915:45: note: remove the call to 'labs' since unsigned values cannot be negative case DW_OP_abs: stack[sp] = labs(stack[sp]); break; ^~~~ ``` Despite what it says the existing code was functioning correctly already though AFAICT. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5056