summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/idvec-auth.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-11 08:06:07 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-11 08:06:07 +0000
commit8a3e8261c7a4c8893cf66e30ce6f3a16d00490df (patch)
tree2a8c3cb78c34803471ceba4439d775190a0d6f76 /libshouldbeinlibc/idvec-auth.c
parent1e91e9c9ce58391a7cbac72b073028966396998d (diff)
1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>
* ugids-argp.c (parse_opt): Clarify if-then-else structure by adding more braces. * portinfo.h: Include <sys/types.h>. * portxlate.c: Likewise. * portinfo.c: (print_port_info): Cast first arg of munmap correctly. (print_task_ports_info): Likewise. * xportinfo.c (print_xlated_task_ports_info): Likewise. * idvec-auth.c (idvec_merge_auth): Likewise. * portxlate.c (port_name_xlator_create): Likewise. (port_name_xlator_free): Likewise.
Diffstat (limited to 'libshouldbeinlibc/idvec-auth.c')
-rw-r--r--libshouldbeinlibc/idvec-auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libshouldbeinlibc/idvec-auth.c b/libshouldbeinlibc/idvec-auth.c
index b17233c8..22f2d559 100644
--- a/libshouldbeinlibc/idvec-auth.c
+++ b/libshouldbeinlibc/idvec-auth.c
@@ -67,13 +67,13 @@ idvec_merge_auth (struct idvec *eff_uids, struct idvec *avail_uids,
/* Deallocate any out-of-line memory we got back. */
if (_eff_uids != eff_uid_buf)
- munmap (_eff_uids, num_eff_uids);
+ munmap ((caddr_t) _eff_uids, num_eff_uids);
if (_avail_uids != avail_uid_buf)
- munmap (_avail_uids, num_avail_uids);
+ munmap ((caddr_t) _avail_uids, num_avail_uids);
if (_eff_gids != eff_gid_buf)
- munmap (_eff_gids, num_eff_gids);
+ munmap ((caddr_t) _eff_gids, num_eff_gids);
if (_avail_gids != avail_gid_buf)
- munmap (_avail_gids, num_avail_gids);
+ munmap ((caddr_t) _avail_gids, num_avail_gids);
return err;
}