From e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 3 May 2015 11:16:13 -0500 Subject: xf86-video-qxl-0.1.4-1: add new package to [pcr] --- pcr/xf86-video-qxl/fix-cast.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/xf86-video-qxl/fix-cast.patch (limited to 'pcr/xf86-video-qxl/fix-cast.patch') diff --git a/pcr/xf86-video-qxl/fix-cast.patch b/pcr/xf86-video-qxl/fix-cast.patch new file mode 100644 index 000000000..e51beec29 --- /dev/null +++ b/pcr/xf86-video-qxl/fix-cast.patch @@ -0,0 +1,25 @@ +From d17fd8b7b503fd5d247fe75432ad192414fa2bdd Mon Sep 17 00:00:00 2001 +From: Christian Hesse +Date: Tue, 7 Jan 2014 08:16:48 +0100 +Subject: [PATCH 1/1] fix cast + +--- + src/spiceqxl_display.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/spiceqxl_display.c b/src/spiceqxl_display.c +index a3a8978..7646efc 100644 +--- a/src/spiceqxl_display.c ++++ b/src/spiceqxl_display.c +@@ -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, +- MEMSLOT_GROUP, 0); ++ spice_qxl_monitors_config_async(&qxl->display_sin, ++ (QXLPHYSICAL)(uintptr_t)qxl->monitors_config, MEMSLOT_GROUP, 0); + } +-- +1.8.5.2 + -- cgit v1.2.3