From 4024697a0b7b97acdc5c411ab9fe8c894c66752e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 31 Dec 2006 13:05:30 +0000 Subject: r20441: fix compiler warnings metze (This used to be commit 44d09e37082a4584040d0acf36109f221a96b184) --- source4/dsdb/schema/schema_syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb') 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; -- cgit