summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/sendauth.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-02 23:41:40 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-02 23:41:40 +0000
commitd431a41a7a0f44ff2d0e5c69fb8a6901f72d0b55 (patch)
treee4f6373671367a5afb16e2cc1e4bbbf44ab015b7 /src/lib/krb5/krb/sendauth.c
parent2fbe8a9edf3b69e68c226a79dad0747f19decd0b (diff)
downloadkrb5-d431a41a7a0f44ff2d0e5c69fb8a6901f72d0b55.tar.gz
krb5-d431a41a7a0f44ff2d0e5c69fb8a6901f72d0b55.tar.xz
krb5-d431a41a7a0f44ff2d0e5c69fb8a6901f72d0b55.zip
Remove unnecessary pointer casts in args to free,memcpy,memset,memchr except unicode, windows code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21875 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/sendauth.c')
-rw-r--r--src/lib/krb5/krb/sendauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c
index a082b82587..67b9adde06 100644
--- a/src/lib/krb5/krb/sendauth.c
+++ b/src/lib/krb5/krb/sendauth.c
@@ -91,7 +91,7 @@ krb5_sendauth(krb5_context context, krb5_auth_context *auth_context,
* If no credentials were provided, try getting it from the
* credentials cache.
*/
- memset((char *)&creds, 0, sizeof(creds));
+ memset(&creds, 0, sizeof(creds));
/*
* See if we need to access the credentials cache