Enrico Weigelt, metux IT consult 3a407a34c4 fix FTBS on i386/i686: int size mismatch
build breaks due integer size mismatch:

> ../../src/dummy_driver.c: In function 'dummy_output_mode_set':
> ../../src/dummy_driver.c:246:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>   246 |     int index = (int64_t)output->driver_private;
>       |                 ^
> ../../src/dummy_driver.c: In function 'dummy_output_detect':
> ../../src/dummy_driver.c:258:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>   258 |     int index = (int64_t)output->driver_private;
>       |                 ^

Need to use uintptr_t instead of plain int.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy/-/merge_requests/13>
2024-06-07 14:23:37 +02:00
2017-01-26 14:00:22 +10:00
2018-11-18 12:27:58 -08:00
2022-01-22 10:18:32 -08:00

xf86-video-dummy - virtual/offscreen frame buffer driver for the Xorg X server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.x.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy

Please submit bug reports and requests to merge patches there.

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

Description
No description provided
Readme 319 KiB
Languages
C 84.1%
Makefile 8.1%
M4 6.9%
Shell 0.9%