diff options
Diffstat (limited to 'source3/lib/util.c')
-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 9266e988d8..8a9452ee00 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2498,7 +2498,7 @@ turn a user name into a uid ********************************************************************/ BOOL nametouid(const char *name, uid_t *uid) { - const struct passwd *pass = Get_Pwnam((char *)name, False); + const struct passwd *pass = Get_Pwnam(name, False); if (pass) { *uid = pass->pw_uid; |