diff options
author | anders <anders@FreeBSD.org> | 2008-04-12 19:08:09 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2008-04-12 19:08:09 +0800 |
commit | e1a0a5408194c14ce8a9afae995564232cd1d590 (patch) | |
tree | a38c971ec33363db40ac7ace6d49068f719799ec /net | |
parent | beaf08bc0c4349e9583a5239cf3e51272e8113b2 (diff) | |
download | freebsd-ports-gnome-e1a0a5408194c14ce8a9afae995564232cd1d590.tar.gz freebsd-ports-gnome-e1a0a5408194c14ce8a9afae995564232cd1d590.tar.zst freebsd-ports-gnome-e1a0a5408194c14ce8a9afae995564232cd1d590.zip |
Fix build on amd64.
Approved by: maintainer timeout
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); |