summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-08-26 12:32:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-08-26 12:32:47 +1000
commita52e7a2c65aef69a205a81b0c0c84abdd54e8f16 (patch)
tree8fecccf6ed71e7969d22ae3a298845bd240363f8
parent7e54b5e568ec630a85914cdc86ab62823190da9c (diff)
downloadsamba-a52e7a2c65aef69a205a81b0c0c84abdd54e8f16.tar.gz
samba-a52e7a2c65aef69a205a81b0c0c84abdd54e8f16.tar.bz2
samba-a52e7a2c65aef69a205a81b0c0c84abdd54e8f16.zip
s4:scheam quiet a 'const' warning
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
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); \