From 7184d24a07df16085b560f362e87bc9c9ec5004f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 7 Jun 2015 10:57:02 +0000 Subject: Instead of always casting the pw_checkname input to u_char * and casting it back to char *, change pw_checkname to directly take char * in input --- pw/pw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw/pw.h') diff --git a/pw/pw.h b/pw/pw.h index a1ed0c4..5950681 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -108,7 +108,7 @@ struct carg *getarg(struct cargs * _args, int ch); int pw_user(struct userconf * cnf, int mode, struct cargs * _args); int pw_group(struct userconf * cnf, int mode, struct cargs * _args); -char *pw_checkname(u_char *name, int gecos); +char *pw_checkname(char *name, int gecos); int addnispwent(const char *path, struct passwd *pwd); int delnispwent(const char *path, const char *login); -- cgit v1.2.3-56-ge451