diff options
Diffstat (limited to 'libshouldbeinlibc/idvec-auth.c')
-rw-r--r-- | libshouldbeinlibc/idvec-auth.c | 8 |
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; } |