diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-11 08:05:43 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-11 08:05:43 +0000 |
commit | 1e91e9c9ce58391a7cbac72b073028966396998d (patch) | |
tree | af33c2d49635b4aeaecd8b37ad5850c8ee1e2d4f /libiohelp/iouser-reauth.c | |
parent | 107d29d85c95b4c5d65d0321ae8c9456c131a4b9 (diff) |
1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>
* return-buffer.c: Include <sys/mman.h>.
* iouser-reauth.c (iohelp_reauth): Cast first arg to munmap
correctly.
Diffstat (limited to 'libiohelp/iouser-reauth.c')
-rw-r--r-- | libiohelp/iouser-reauth.c | 8 |
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) { |