Magellan Linux

Contents of /trunk/vnc/patches/vnc-gcc4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 562 byte(s)
-import

1 --- vnc-4_1-unixsrc/unix/xc/programs/Xserver/vnc/vncExtInit.cc.gcc4 2005-03-04 13:52:03.000000000 +0000
2 +++ vnc-4_1-unixsrc/unix/xc/programs/Xserver/vnc/vncExtInit.cc 2005-03-04 13:52:24.000000000 +0000
3 @@ -751,7 +751,7 @@
4 rep.timeout = qcTimeout;
5 rep.addrLen = qcTimeout ? strlen(qcAddress) : 0;
6 rep.userLen = qcTimeout ? strlen(qcUsername) : 0;
7 - rep.opaqueId = (CARD32)queryConnectId;
8 + rep.opaqueId = (CARD32)(long)queryConnectId;
9 rep.length = (rep.userLen + rep.addrLen + 3) >> 2;
10 if (client->swapped) {
11 swaps(&rep.sequenceNumber, n);