summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-30 10:15:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:30:32 -0500
commit9c3d5c611860fdb730cc6a9759a5536ccaa7b8e4 (patch)
tree8f18648256d06fd68dbd77947a3e47aa8fbfe5c3 /source4/dsdb
parentb29d129ce75dc4d1fd0faf457558fbd3a4084b29 (diff)
downloadsamba-9c3d5c611860fdb730cc6a9759a5536ccaa7b8e4.tar.gz
samba-9c3d5c611860fdb730cc6a9759a5536ccaa7b8e4.tar.bz2
samba-9c3d5c611860fdb730cc6a9759a5536ccaa7b8e4.zip
r20416: fix compiler warnings
metze (This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_init.c4
1 files changed, 2 insertions, 2 deletions
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);