From b91092523b42cd29d0216fea7df07106fdf5b311 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 6 Mar 2002 15:24:51 +0000 Subject: Remove a bogus cast. --- lib/libutil/login_cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c index cb8aded..9797c8b 100644 --- a/lib/libutil/login_cap.c +++ b/lib/libutil/login_cap.c @@ -373,7 +373,7 @@ login_getcaplist(login_cap_t *lc, const char *cap, const char *chars) if (chars == NULL) chars = ", \t"; - if ((lstring = login_getcapstr(lc, (char*)cap, NULL, NULL)) != NULL) + if ((lstring = login_getcapstr(lc, cap, NULL, NULL)) != NULL) return arrayize(lstring, chars, NULL); return NULL; } -- cgit v1.1