[packages/tigervnc] - fix for type casting compilation error

hawk hawk at pld-linux.org
Thu Jul 18 18:05:36 CEST 2013


commit 214d2f9530b2978fad7fdc17da9733e0ae8c36bf
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Thu Jul 18 16:16:45 2013 +0000

    - fix for type casting compilation error

 tigervnc-typecast.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/tigervnc-typecast.patch b/tigervnc-typecast.patch
new file mode 100644
index 0000000..23188fb
--- /dev/null
+++ b/tigervnc-typecast.patch
@@ -0,0 +1,11 @@
+--- tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc.orig	2013-07-18 14:46:36.000000000 +0000
++++ tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc	2013-07-18 14:47:00.757116173 +0000
+@@ -1070,7 +1070,7 @@
+ {
+   REQUEST(xVncExtApproveConnectReq);
+   REQUEST_SIZE_MATCH(xVncExtApproveConnectReq);
+-  if (queryConnectId == (void*)stuff->opaqueId) {
++  if (queryConnectId == (void*)(intptr_t)stuff->opaqueId) {
+     for (int scr = 0; scr < screenInfo.numScreens; scr++) {
+       if (desktop[scr]) {
+         desktop[scr]->approveConnection(queryConnectId, stuff->approve,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tigervnc.git/commitdiff/ea73831e4b9179b53a4e8c9b6b5091ddd28835f8



More information about the pld-cvs-commit mailing list