summaryrefslogtreecommitdiff
path: root/libiohelp/iouser-reauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiohelp/iouser-reauth.c')
-rw-r--r--libiohelp/iouser-reauth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libiohelp/iouser-reauth.c b/libiohelp/iouser-reauth.c
index 31dc62d4..3514b5d8 100644
--- a/libiohelp/iouser-reauth.c
+++ b/libiohelp/iouser-reauth.c
@@ -82,13 +82,13 @@ struct iouser *iohelp_reauth (auth_t authserver, mach_port_t rend_port,
err = idvec_set_ids (new->gids, gen_gids, gengidlen);
if (gubuf != gen_uids)
- munmap (gen_uids, genuidlen * sizeof (uid_t));
+ munmap ((caddr_t) gen_uids, genuidlen * sizeof (uid_t));
if (ggbuf != gen_gids)
- munmap (gen_gids, gengidlen * sizeof (uid_t));
+ munmap ((caddr_t) gen_gids, gengidlen * sizeof (uid_t));
if (aubuf != aux_uids)
- munmap (aux_uids, auxuidlen * sizeof (uid_t));
+ munmap ((caddr_t) aux_uids, auxuidlen * sizeof (uid_t));
if (agbuf != aux_gids)
- munmap (aux_gids, auxgidlen * sizeof (uid_t));
+ munmap ((caddr_t) aux_gids, auxgidlen * sizeof (uid_t));
if (err)
{