Commit 91ee004c authored by Francois Gouget's avatar Francois Gouget Committed by Christophe Fergeau

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: default avatarFrancois Gouget <fgouget@codeweavers.com>
parent 67d8beb9
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment