From 884d66d959e2eaa384bf9af6230ffb589a581b13 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Wed, 16 May 2012 23:52:51 -0700 Subject: s4-drsuapi: Fix a const warning --- source4/dsdb/samdb/cracknames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/dsdb/samdb/cracknames.c b/source4/dsdb/samdb/cracknames.c index 745ec05fb2..504f1b2deb 100644 --- a/source4/dsdb/samdb/cracknames.c +++ b/source4/dsdb/samdb/cracknames.c @@ -693,7 +693,7 @@ WERROR DsCrackNameOneName(struct ldb_context *sam_ctx, TALLOC_CTX *mem_ctx, case DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL: { krb5_principal principal; char *unparsed_name_short; - krb5_data *component; + const krb5_data *component; char *service; ret = smb_krb5_init_context(mem_ctx, -- cgit