]> granicus.if.org Git - sudo/commitdiff
remove useless cast
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 30 Mar 2008 21:36:51 +0000 (21:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 30 Mar 2008 21:36:51 +0000 (21:36 +0000)
auth/bsdauth.c

index f76314531dec300cfe5a9fab416eb81907fdbb43..d6573aa2b173096dbec7b379b76ba7bc8846f889 100644 (file)
@@ -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));
     }