1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Fix compile warning in nametouid().

(This used to be commit deb6dfb4e0)
This commit is contained in:
Tim Potter 1999-04-12 01:39:46 +00:00
parent 5be247c62c
commit 069f1b5ff2

View File

@ -2509,7 +2509,7 @@ turn a user name into a uid
********************************************************************/
BOOL nametouid(const char *name, uid_t *uid)
{
struct passwd *pass = Get_Pwnam(name, False);
struct passwd *pass = Get_Pwnam((char *)name, False);
if (pass)
{
*uid = pass->pw_uid;