File tigervnc-1.2.80-fix-int-to-pointer.patch of Package xorg-x11-Xvnc
--- xserver.orig/hw/vnc/vncExtInit.cc 2012-09-18 14:05:39.276682941 +0200
+++ xserver/hw/vnc/vncExtInit.cc 2012-09-18 14:04:22.734526621 +0200
@@ -1067,7 +1067,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,