s4-descriptor: Fixed some compiler warnings.
authorNadezhda Ivanova <nivanova@samba.org>
Mon, 21 Feb 2011 15:17:12 +0000 (17:17 +0200)
committerNadezhda Ivanova <nivanova@samba.org>
Mon, 21 Feb 2011 17:02:21 +0000 (18:02 +0100)
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Mon Feb 21 18:02:21 CET 2011 on sn-devel-104

source4/dsdb/samdb/ldb_modules/descriptor.c

index 917413214eff48461115080f70ee7649d59516dc..19cea0abf05ba3530d56d388f91b7263d9510e52 100644 (file)
@@ -211,8 +211,8 @@ static DATA_BLOB *get_new_descriptor(struct ldb_module *module,
                                     TALLOC_CTX *mem_ctx,
                                     const struct dsdb_class *objectclass,
                                     const struct ldb_val *parent,
-                                    struct ldb_val *object,
-                                    struct ldb_val *old_sd,
+                                    const struct ldb_val *object,
+                                    const struct ldb_val *old_sd,
                                     uint32_t sd_flags)
 {
        struct security_descriptor *user_descriptor = NULL, *parent_descriptor = NULL;