From ba9264c05d22d82c700f5cf5f3600dcfb1d159b9 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 8 Apr 2002 11:04:56 +0000 Subject: Const poisoning. --- libutil/login_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libutil/login_crypt.c') diff --git a/libutil/login_crypt.c b/libutil/login_crypt.c index f3d83a8..c65fc9b 100644 --- a/libutil/login_crypt.c +++ b/libutil/login_crypt.c @@ -38,7 +38,7 @@ const char * login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) { const char *cipher; - cipher = login_getcapstr(lc, "passwd_format", (char *)def, NULL); + cipher = login_getcapstr(lc, "passwd_format", def, NULL); if (getenv("CRYPT_DEBUG") != NULL) fprintf(stderr, "login_setcryptfmt: " "passwd_format = %s\n", cipher); -- cgit v1.2.3