Remove a bogus cast.

This commit is contained in:
Dag-Erling Smørgrav 2002-03-06 15:24:51 +00:00
parent c53d09b102
commit 40e0f7deed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91750

View File

@ -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;
}