diff options
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 30ad0a70652..dcad289071d 100644 --- a/source/lib/util.c +++ b/source/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; |