]> git.pld-linux.org Git - packages/tigervnc.git/commitdiff
- fix for type casting compilation error
authorMarcin Krol <hawk@tld-linux.org>
Thu, 18 Jul 2013 16:16:45 +0000 (16:16 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 18 Jul 2013 16:16:45 +0000 (16:16 +0000)
tigervnc-typecast.patch [new file with mode: 0644]

diff --git a/tigervnc-typecast.patch b/tigervnc-typecast.patch
new file mode 100644 (file)
index 0000000..23188fb
--- /dev/null
@@ -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,
This page took 0.167264 seconds and 4 git commands to generate.