diff options
author | Tim Potter <tpot@samba.org> | 1999-04-12 01:39:46 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-04-12 01:39:46 +0000 |
commit | 069f1b5ff24402aa0954a19e5ed36b53fa3ad2e0 (patch) | |
tree | 9644438019d1f86f143bd6d6938d17606017b49c /source3/lib | |
parent | 5be247c62ca4445fe6983c74c662ec4ef500859e (diff) | |
download | samba-069f1b5ff24402aa0954a19e5ed36b53fa3ad2e0.tar.gz samba-069f1b5ff24402aa0954a19e5ed36b53fa3ad2e0.tar.bz2 samba-069f1b5ff24402aa0954a19e5ed36b53fa3ad2e0.zip |
Fix compile warning in nametouid().
(This used to be commit deb6dfb4e0c975a93a7bb3f93265c678eb35bd76)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 30ad0a7065..dcad289071 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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; |