From 9c3d5c611860fdb730cc6a9759a5536ccaa7b8e4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 30 Dec 2006 10:15:54 +0000 Subject: r20416: fix compiler warnings metze (This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5) --- source4/dsdb/schema/schema_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 2ab4c956be..1f8c87f851 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -722,8 +722,8 @@ const struct dsdb_class *dsdb_class_by_lDAPDisplayName(const struct dsdb_schema const char *dsdb_lDAPDisplayName_by_id(const struct dsdb_schema *schema, uint32_t id) { - struct dsdb_class *a; - struct dsdb_class *c; + const struct dsdb_attribute *a; + const struct dsdb_class *c; /* TODO: add binary search */ a = dsdb_attribute_by_attributeID_id(schema, id); -- cgit