git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't cast the pointer past to memset
[openafs.git]
/
src
/
WINNT
/
afsd
/
afskfw.c
diff --git
a/src/WINNT/afsd/afskfw.c
b/src/WINNT/afsd/afskfw.c
index
052afea
..
3c2ad42
100644
(file)
--- a/
src/WINNT/afsd/afskfw.c
+++ b/
src/WINNT/afsd/afskfw.c
@@
-2873,7
+2873,7
@@
KFW_AFS_klog(
if (code) goto skip_krb5_init;
}
- memset((char *)&increds, 0, sizeof(increds));
+ memset(&increds, 0, sizeof(increds));
code = pkrb5_cc_get_principal(ctx, cc, &client_principal);
if (code) {