mirror of
https://github.com/X11Libre/xf86-video-qxl.git
synced 2026-03-24 01:24:24 +00:00
server: Convert qxl->monitors_config to a QXLPHYSICAL using physical_address()
This avoids compilation errors with -Werror on 32 bit systems and is more correct than a direct cast. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
This commit is contained in:
committed by
Christophe Fergeau
parent
67d8beb98c
commit
91ee004cda
@@ -350,6 +350,6 @@ void qxl_add_spice_display_interface(qxl_screen_t *qxl)
|
||||
|
||||
void spiceqxl_display_monitors_config(qxl_screen_t *qxl)
|
||||
{
|
||||
spice_qxl_monitors_config_async(&qxl->display_sin, (QXLPHYSICAL)qxl->monitors_config,
|
||||
spice_qxl_monitors_config_async(&qxl->display_sin, physical_address(qxl, qxl->monitors_config, 0),
|
||||
MEMSLOT_GROUP, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user