14 lines
588 B
Diff
14 lines
588 B
Diff
|
Index: unix/xserver/hw/vnc/vncExtInit.cc
|
||
|
===================================================================
|
||
|
--- xserver/hw/vnc/vncExtInit.cc (revision 5122)
|
||
|
+++ xserver/hw/vnc/vncExtInit.cc (working copy)
|
||
|
@@ -1068,7 +1068,7 @@
|
||
|
{
|
||
|
REQUEST(xVncExtApproveConnectReq);
|
||
|
REQUEST_SIZE_MATCH(xVncExtApproveConnectReq);
|
||
|
- if (queryConnectId == (void*)stuff->opaqueId) {
|
||
|
+ if ((CARD32)(long)queryConnectId == stuff->opaqueId) {
|
||
|
for (int scr = 0; scr < screenInfo.numScreens; scr++) {
|
||
|
if (desktop[scr]) {
|
||
|
desktop[scr]->approveConnection(queryConnectId, stuff->approve,
|