summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-06 21:28:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:07 -0500
commit84ea1aa3fc50324164fa4b1a28998e7f2facb351 (patch)
treec4217aa9c39564f757ea9f36e24037a0ad62ee7e /source4/lib
parent9dba7d761312a6f3746ffc707a39c2c5edbaf630 (diff)
downloadsamba-84ea1aa3fc50324164fa4b1a28998e7f2facb351.tar.gz
samba-84ea1aa3fc50324164fa4b1a28998e7f2facb351.tar.bz2
samba-84ea1aa3fc50324164fa4b1a28998e7f2facb351.zip
r22723: fix compiler warnings
metze (This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/samba/ldif_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/samba/ldif_handlers.c b/source4/lib/ldb/samba/ldif_handlers.c
index 5535c3caa2..44b956a8b6 100644
--- a/source4/lib/ldb/samba/ldif_handlers.c
+++ b/source4/lib/ldb/samba/ldif_handlers.c
@@ -437,7 +437,7 @@ int ldb_register_samba_handlers(struct ldb_context *ldb)
for (i=0; i < ARRAY_SIZE(samba_attributes); i++) {
int ret;
uint32_t j;
- struct ldb_schema_syntax *s = NULL;
+ const struct ldb_schema_syntax *s = NULL;
for (j=0; j < ARRAY_SIZE(samba_syntaxes); j++) {
if (strcmp(samba_attributes[i].syntax, samba_syntaxes[j].name) == 0) {