Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-11-14 22:14:43 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-11-14 22:14:43 +0300
commit508682370b4aad954555e5611c994eb96fb5cc56 (patch)
tree971adb4de5d3981be46dbe66f42fc556f43a1724 /winsup/utils/passwd.c
parent530393d7cf20c6b337d13b1983e1c8c1320de484 (diff)
* mkgroup.c: Avoid compiler warnings throughout.
* mkpasswd.c: Ditto. * passwd.c: Ditto.
Diffstat (limited to 'winsup/utils/passwd.c')
-rw-r--r--winsup/utils/passwd.c6
1 files changed, 3 insertions, 3 deletions
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)