]>
Commit | Line | Data |
---|---|---|
214d2f95 MK |
1 | --- tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc.orig 2013-07-18 14:46:36.000000000 +0000 |
2 | +++ tigervnc-1.3.0/unix/xserver/hw/vnc/vncExtInit.cc 2013-07-18 14:47:00.757116173 +0000 | |
3 | @@ -1070,7 +1070,7 @@ | |
4 | { | |
5 | REQUEST(xVncExtApproveConnectReq); | |
6 | REQUEST_SIZE_MATCH(xVncExtApproveConnectReq); | |
7 | - if (queryConnectId == (void*)stuff->opaqueId) { | |
8 | + if (queryConnectId == (void*)(intptr_t)stuff->opaqueId) { | |
9 | for (int scr = 0; scr < screenInfo.numScreens; scr++) { | |
10 | if (desktop[scr]) { | |
11 | desktop[scr]->approveConnection(queryConnectId, stuff->approve, |