[SCM] Samba Shared Repository - branch master updated -
e9e12460217e421e44715b603ddbf57e5a889def
Günther Deschner
gd at samba.org
Wed Oct 15 19:44:45 GMT 2008
The branch, master has been updated
via e9e12460217e421e44715b603ddbf57e5a889def (commit)
from a1b7b6d5b41df3585f2cd2ad5b5fca2fe22b1a40 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit e9e12460217e421e44715b603ddbf57e5a889def
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 9 11:05:42 2008 +0200
kerberos: fix some heimdal build warnings.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/libads/krb5_setpw.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c
index 719f3bd..0ff9f2b 100644
--- a/source3/libads/krb5_setpw.c
+++ b/source3/libads/krb5_setpw.c
@@ -285,7 +285,7 @@ static krb5_error_code parse_setpw_reply(krb5_context context,
return KRB5KRB_AP_ERR_MODIFIED;
}
- p = packet->data;
+ p = (char *)packet->data;
/*
** see if it is an error
*/
@@ -368,7 +368,7 @@ static krb5_error_code parse_setpw_reply(krb5_context context,
return KRB5KRB_AP_ERR_MODIFIED;
}
- p = clearresult.data;
+ p = (char *)clearresult.data;
res_code = RSVAL(p, 0);
@@ -687,10 +687,10 @@ kerb_prompter(krb5_context ctx, void *data,
memset(prompts[0].reply->data, 0, prompts[0].reply->length);
if (prompts[0].reply->length > 0) {
if (data) {
- strncpy(prompts[0].reply->data,
+ strncpy((char *)prompts[0].reply->data,
(const char *)data,
prompts[0].reply->length-1);
- prompts[0].reply->length = strlen(prompts[0].reply->data);
+ prompts[0].reply->length = strlen((const char *)prompts[0].reply->data);
} else {
prompts[0].reply->length = 0;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list