Fix stupid cast.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@529 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-05-12 22:12:46 +00:00
parent e1134f4d74
commit 39d4e25d0a

View File

@@ -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");