summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-qxl/fix-cast.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-03 11:16:13 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-03 11:16:13 -0500
commite1d2454d98a7bdd60e4911f50f1c7a99527ac9ee (patch)
tree138a673e87cd8bb9eb7fc210d4c4d23a2338998f /pcr/xf86-video-qxl/fix-cast.patch
parent4acc26adf1aabb4161d8f5862d32f8e4041959ff (diff)
downloadabslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.tar.gz
abslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.tar.bz2
abslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.zip
xf86-video-qxl-0.1.4-1: add new package to [pcr]
Diffstat (limited to 'pcr/xf86-video-qxl/fix-cast.patch')
-rw-r--r--pcr/xf86-video-qxl/fix-cast.patch25
1 files changed, 25 insertions, 0 deletions
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 <mail@eworm.de>
+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
+