diff options
author | Anders Nordby <anders@FreeBSD.org> | 2008-04-12 11:08:09 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2008-04-12 11:08:09 +0000 |
commit | 7091f8c99486a22ed1b841e55d1ffe4c4b2c4edc (patch) | |
tree | be73b518d746c92ca2462a9e963aeea5337e4e15 /net | |
parent | 204fd0685300448e75235fff75922d0c057d3bf0 (diff) | |
download | ports-7091f8c99486a22ed1b841e55d1ffe4c4b2c4edc.tar.gz ports-7091f8c99486a22ed1b841e55d1ffe4c4b2c4edc.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc | 11 |
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); |