summaryrefslogtreecommitdiff
path: root/source4/auth/credentials
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-26 22:30:04 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-27 19:11:44 +0200
commite4afcd62bccf04f2afc779d7292f49e10c29b970 (patch)
treed3749b785a7015f64ac1722f6150371d67158242 /source4/auth/credentials
parente8cfc2f1de4b60f192a391dd02e405a152a7d5a6 (diff)
downloadsamba-e4afcd62bccf04f2afc779d7292f49e10c29b970.tar.gz
samba-e4afcd62bccf04f2afc779d7292f49e10c29b970.tar.bz2
samba-e4afcd62bccf04f2afc779d7292f49e10c29b970.zip
s4:credentials_krb5.c - quiet a Solaris warning
Diffstat (limited to 'source4/auth/credentials')
-rw-r--r--source4/auth/credentials/credentials_krb5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_krb5.c b/source4/auth/credentials/credentials_krb5.c
index 622f674bf8..4021146821 100644
--- a/source4/auth/credentials/credentials_krb5.c
+++ b/source4/auth/credentials/credentials_krb5.c
@@ -479,7 +479,8 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
for (num_ktypes = 0; etypes[num_ktypes]; num_ktypes++);
maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, gcc->creds,
- num_ktypes, etypes);
+ num_ktypes,
+ (int32_t *) etypes);
krb5_xfree (etypes);
if (maj_stat) {
talloc_free(gcc);