Andrew Talbot : server: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 18 05:34:29 CST 2006


Module: wine
Branch: master
Commit: 53dae9b7f580b7faf471bc577ceae42aecac2817
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=53dae9b7f580b7faf471bc577ceae42aecac2817

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Dec 16 17:43:17 2006 +0000

server: Cast-qual warnings fix.

---

 server/token.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/token.c b/server/token.c
index 44e1a90..b84c91b 100644
--- a/server/token.c
+++ b/server/token.c
@@ -515,7 +515,7 @@ static ACL *create_default_dacl( const S
     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-cvs mailing list