aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc b/net/vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc
new file mode 100644
index 000000000000..3160dfc3f2d7
--- /dev/null
+++ b/net/vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc
@@ -0,0 +1,11 @@
+--- xc/programs/Xserver/vnc/vncExtInit.cc.orig 2008-04-12 12:59:39.000000000 +0200
++++ xc/programs/Xserver/vnc/vncExtInit.cc 2008-04-12 12:59:54.000000000 +0200
+@@ -751,7 +751,7 @@
+ rep.timeout = qcTimeout;
+ rep.addrLen = qcTimeout ? strlen(qcAddress) : 0;
+ rep.userLen = qcTimeout ? strlen(qcUsername) : 0;
+- rep.opaqueId = (CARD32)queryConnectId;
++ rep.opaqueId = (CARD32)(long)queryConnectId;
+ rep.length = (rep.userLen + rep.addrLen + 3) >> 2;
+ if (client->swapped) {
+ swaps(&rep.sequenceNumber, n);