From 508682370b4aad954555e5611c994eb96fb5cc56 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 14 Nov 2003 19:14:43 +0000 Subject: * mkgroup.c: Avoid compiler warnings throughout. * mkpasswd.c: Ditto. * passwd.c: Ditto. --- winsup/utils/passwd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/utils/passwd.c') diff --git a/winsup/utils/passwd.c b/winsup/utils/passwd.c index a6fc778d4..d0f3289cb 100644 --- a/winsup/utils/passwd.c +++ b/winsup/utils/passwd.c @@ -133,7 +133,7 @@ GetPW (char *user, int print_win_name) } } MultiByteToWideChar (CP_ACP, 0, user, -1, name, 2 * (UNLEN + 1)); - ret = NetUserGetInfo (NULL, name, 3, (LPBYTE *) &ui); + ret = NetUserGetInfo (NULL, name, 3, (void *) &ui); return EvalRet (ret, user) ? NULL : ui; } @@ -184,7 +184,7 @@ PrintPW (PUSER_INFO_3 ui) printf ("Password expired : %s", (ui->usri3_password_expired) ? "yes\n" : "no\n"); printf ("Latest password change : %s", ctime(&t)); - ret = NetUserModalsGet (NULL, 0, (LPBYTE *) &mi); + ret = NetUserModalsGet (NULL, 0, (void *) &mi); if (! ret) { if (mi->usrmod0_max_passwd_age == TIMEQ_FOREVER) @@ -213,7 +213,7 @@ SetModals (int xarg, int narg, int iarg, int Larg) int ret; PUSER_MODALS_INFO_0 mi; - ret = NetUserModalsGet (NULL, 0, (LPBYTE *) &mi); + ret = NetUserModalsGet (NULL, 0, (void *) &mi); if (! ret) { if (xarg == 0) -- cgit v1.2.3