From a52e7a2c65aef69a205a81b0c0c84abdd54e8f16 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 26 Aug 2009 12:32:47 +1000 Subject: s4:scheam quiet a 'const' warning --- source4/dsdb/schema/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/schema/schema_init.c') diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 86f9cae406..e741bc0ee5 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -653,7 +653,7 @@ static int dsdb_schema_setup_ldb_schema_attribute(struct ldb_context *ldb, #define GET_STRING_LDB(msg, attr, mem_ctx, p, elem, strict) do { \ - struct ldb_val *get_string_val = ldb_msg_find_ldb_val(msg, attr); \ + const struct ldb_val *get_string_val = ldb_msg_find_ldb_val(msg, attr); \ if (get_string_val == NULL) { \ if (strict) { \ d_printf("%s: %s == NULL\n", __location__, attr); \ -- cgit