From 84ea1aa3fc50324164fa4b1a28998e7f2facb351 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 6 May 2007 21:28:03 +0000 Subject: r22723: fix compiler warnings metze (This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34) --- source4/lib/ldb/samba/ldif_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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) { -- cgit