Revision: 5135
          http://sourceforge.net/p/tigervnc/code/5135
Author:   ossman_
Date:     2013-09-19 09:11:10 +0000 (Thu, 19 Sep 2013)
Log Message:
-----------
Do a better type cast that mirrors how we generate
opaqueId in the first place. Patch by Michal Srb.

Modified Paths:
--------------
    trunk/unix/xserver/hw/vnc/vncExtInit.cc

Modified: trunk/unix/xserver/hw/vnc/vncExtInit.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/vncExtInit.cc     2013-09-05 14:27:21 UTC (rev 
5134)
+++ trunk/unix/xserver/hw/vnc/vncExtInit.cc     2013-09-19 09:11:10 UTC (rev 
5135)
@@ -1070,7 +1070,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,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to