summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/schema/schema_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_query.c b/source4/dsdb/schema/schema_query.c
index 0e5efa9004..7d696e877e 100644
--- a/source4/dsdb/schema/schema_query.c
+++ b/source4/dsdb/schema/schema_query.c
@@ -157,7 +157,7 @@ const struct dsdb_class *dsdb_class_by_lDAPDisplayName(const struct dsdb_schema
}
const struct dsdb_class *dsdb_class_by_lDAPDisplayName_ldb_val(const struct dsdb_schema *schema,
- struct ldb_val *name)
+ const struct ldb_val *name)
{
struct dsdb_class *c;
if (!name) return NULL;
@@ -177,7 +177,7 @@ const struct dsdb_class *dsdb_class_by_cn(const struct dsdb_schema *schema,
}
const struct dsdb_class *dsdb_class_by_cn_ldb_val(const struct dsdb_schema *schema,
- struct ldb_val *cn)
+ const struct ldb_val *cn)
{
struct dsdb_class *c;
if (!cn) return NULL;