diff --git a/lib/roken/iruserok.c b/lib/roken/iruserok.c index 72d322034..5ba7f483d 100644 --- a/lib/roken/iruserok.c +++ b/lib/roken/iruserok.c @@ -220,7 +220,7 @@ again: } if (first == 1 && (__check_rhosts_file || superuser)) { first = 0; - if ((pwd = k_getpwnam(luser)) == NULL) + if ((pwd = k_getpwnam((char*)luser)) == NULL) return (-1); (void)strcpy(pbuf, pwd->pw_dir); (void)strcat(pbuf, "/.rhosts");