diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/login_cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |