summaryrefslogtreecommitdiffstats
path: root/src/plugins/authdata/greet/greet_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/authdata/greet/greet_auth.c')
-rw-r--r--src/plugins/authdata/greet/greet_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/authdata/greet/greet_auth.c b/src/plugins/authdata/greet/greet_auth.c
index f7b6dd733c..91b9a697fb 100644
--- a/src/plugins/authdata/greet/greet_auth.c
+++ b/src/plugins/authdata/greet/greet_auth.c
@@ -69,7 +69,7 @@ greet_authdata(krb5_context ctx, krb5_db_entry *client,
a->magic = KV5M_AUTHDATA;
a->ad_type = -42;
a->length = GREET_SIZE;
- a->contents = p;
+ a->contents = (unsigned char *)p;
if (enc_tkt_reply->authorization_data == 0) {
count = 0;
} else {