s4:libcli/security/access_check - Add "const" in front of "type"
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 17 Oct 2009 20:30:43 +0000 (22:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 23:02:38 +0000 (10:02 +1100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/libcli/security/access_check.c

index 954c54c38b86a4860f123cf50a5e0f06080e7155..c974a39e29c8c47f1e78d247b1d671df85bb6088 100644 (file)
@@ -186,7 +186,7 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd,
         int i;
         uint32_t bits_remaining;
         struct object_tree *node;
-        struct GUID *type;
+        const struct GUID *type;
 
         *access_granted = access_desired;
         bits_remaining = access_desired;