server: Cast-qual warnings fix (2 of 2)

Andrew Talbot Andrew.Talbot at talbotville.com
Sat Dec 16 11:43:17 CST 2006


Changelog:
    server: Cast-qual warnings fix.

diff -urN a/server/token.c b/server/token.c
--- a/server/token.c	2006-10-10 12:52:03.000000000 +0100
+++ b/server/token.c	2006-12-16 17:24:21.000000000 +0000
@@ -515,7 +515,7 @@
     memcpy( sid, &local_system_sid, sizeof(local_system_sid) );
 
     /* GENERIC_ALL for specified user */
-    aaa = (ACCESS_ALLOWED_ACE *)((const char *)aaa + aaa->Header.AceSize);
+    aaa = (ACCESS_ALLOWED_ACE *)((char *)aaa + aaa->Header.AceSize);
     aaa->Header.AceType = ACCESS_ALLOWED_ACE_TYPE;
     aaa->Header.AceFlags = 0;
     aaa->Header.AceSize = (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) +



More information about the wine-patches mailing list