xserver/hw
Enrico Weigelt, metux IT consult 43f47e8e65 xfree86: x86emu: fix warning on unneccessary abs()
fix warning:

> In file included from ../hw/xfree86/int10/x86emu.c:11:
> ../hw/xfree86/x86emu/prim_ops.c:2478:9: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value]
>     if (abs(div) > 0xff) {
>         ^
> ../hw/xfree86/x86emu/prim_ops.c:2478:9: note: remove the call to 'abs' since unsigned values cannot be negative
>     if (abs(div) > 0xff) {
>         ^~~
> ../hw/xfree86/x86emu/prim_ops.c:2502:9: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value]
>     if (abs(div) > 0xffff) {
>         ^
> ../hw/xfree86/x86emu/prim_ops.c:2502:9: note: remove the call to 'abs' since unsigned values cannot be negative
>     if (abs(div) > 0xffff) {
>         ^~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1428>
2024-04-18 01:03:11 +00:00
..
kdrive os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
vfb os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
xfree86 xfree86: x86emu: fix warning on unneccessary abs() 2024-04-18 01:03:11 +00:00
xnest os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
xquartz Fix missing include of sys/stat.h 2024-04-17 10:55:10 +02:00
xwayland xwayland: Use exec name instead of hardcoding '/Xwayland' 2024-04-17 15:20:05 +00:00
xwin os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00