summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-31 13:05:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:30:38 -0500
commit4024697a0b7b97acdc5c411ab9fe8c894c66752e (patch)
tree1df72a68578c3823f4605d8581aec52cbd1203eb
parentce05aa5d407cc35daa24d358884895d4ffd8f837 (diff)
downloadsamba-4024697a0b7b97acdc5c411ab9fe8c894c66752e.tar.gz
samba-4024697a0b7b97acdc5c411ab9fe8c894c66752e.tar.bz2
samba-4024697a0b7b97acdc5c411ab9fe8c894c66752e.zip
r20441: fix compiler warnings
metze (This used to be commit 44d09e37082a4584040d0acf36109f221a96b184)
-rw-r--r--source4/dsdb/schema/schema_syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 820d388ce9..6a43c9ec7d 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -543,7 +543,7 @@ static WERROR _dsdb_syntax_OID_oid_drsuapi_to_ldb(const struct dsdb_schema *sche
for (i=0; i < out->num_values; i++) {
uint32_t v;
WERROR status;
- char *str;
+ const char *str;
if (in->value_ctr.oid.values[i].value == NULL) {
return WERR_FOOBAR;
@@ -632,7 +632,7 @@ static WERROR dsdb_syntax_OID_ldb_to_drsuapi(const struct dsdb_schema *schema,
case DRSUAPI_ATTRIBUTE_governsID:
case DRSUAPI_ATTRIBUTE_attributeID:
case DRSUAPI_ATTRIBUTE_attributeSyntax:
- return dsdb_syntax_FOOBAR_drsuapi_to_ldb(schema, attr, in, mem_ctx, out);
+ return dsdb_syntax_FOOBAR_ldb_to_drsuapi(schema, attr, in, mem_ctx, out);
}
out->attid = attr->attributeID_id;