diff --git a/auth/bsdauth.c b/auth/bsdauth.c index f76314531..d6573aa2b 100644 --- a/auth/bsdauth.c +++ b/auth/bsdauth.c @@ -146,7 +146,7 @@ bsdauth_verify(pw, prompt, auth) nil_pw = 1; if (pass) { - authok = auth_userresponse(as, (char *)pass, 1); + authok = auth_userresponse(as, pass, 1); zero_bytes(pass, strlen(pass)); }