diff options
Diffstat (limited to 'src/lib/krb5/krb/copy_auth.c')
-rw-r--r-- | src/lib/krb5/krb/copy_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/copy_auth.c b/src/lib/krb5/krb/copy_auth.c index 9a94cddedd..e9472eec80 100644 --- a/src/lib/krb5/krb/copy_auth.c +++ b/src/lib/krb5/krb/copy_auth.c @@ -68,7 +68,7 @@ krb5_copy_authdatum(krb5_context context, const krb5_authdata *inad, krb5_authda free(tmpad); return ENOMEM; } - memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length); + memcpy(tmpad->contents, inad->contents, inad->length); *outad = tmpad; return 0; } |