open-src/xserver/xvnc/vnc-fasterPrivates.patch
changeset 606 068c11b419c9
child 705 24ca414edbff
equal deleted inserted replaced
605:e5259db5befc 606:068c11b419c9
       
     1 Make Xvnc build after applying ../xorg/faster-devPrivates.patch
       
     2 which changes the type of DevPrivateKey.
       
     3 
       
     4 --- unix/xc/programs/Xserver/vnc/vncHooks.cc	2008-10-08 08:21:12.289265000 -0700
       
     5 +++ unix/xc/programs/Xserver/vnc/vncHooks.cc	2008-10-08 08:20:15.523901000 -0700
       
     6 @@ -90,8 +90,8 @@
       
     7      GCOps *wrappedOps;
       
     8  } vncHooksGCRec, *vncHooksGCPtr;
       
     9  
       
    10 -static DevPrivateKey vncHooksScrPrivateKey = &vncHooksScrPrivateKey;
       
    11 -static DevPrivateKey vncHooksGCPrivateKey = &vncHooksGCPrivateKey;
       
    12 +static DevPrivateKey vncHooksScrPrivateKey = (DevPrivateKey) &vncHooksScrPrivateKey;
       
    13 +static DevPrivateKey vncHooksGCPrivateKey = (DevPrivateKey) &vncHooksGCPrivateKey;
       
    14  
       
    15  #define vncHooksScreenPrivate(scrn) \
       
    16  	(vncHooksScreenPtr) dixLookupPrivate (&(scrn)->devPrivates, \