From 2db41269f8c3053fe45e3c709db75ccc34bf9a09 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 27 Jun 2013 18:47:45 +0200 Subject: Fix compilation warning --- src/providers/krb5/krb5_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers') diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 4bf071eef..8f5eb4967 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -925,7 +925,7 @@ errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx, if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("Could not parse %s into name and " \ "domain components, login might fail\n")); - name = username; + name = discard_const(username); } /* NOTE: this is a hack, works only in some environments */ -- cgit