From 4b8c3a57654a54c370e35d30ba43f59309759ea3 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sun, 11 Jul 1999 06:02:55 +0000 Subject: 1999-07-11 Thomas Bushnell, BSG * ugids-argp.c (parse_opt): Clarify if-then-else structure by adding more braces. * 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. --- libshouldbeinlibc/xportinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libshouldbeinlibc/xportinfo.c') diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c index bcd6abfa..f94bc4bd 100644 --- a/libshouldbeinlibc/xportinfo.c +++ b/libshouldbeinlibc/xportinfo.c @@ -59,8 +59,8 @@ print_xlated_task_ports_info (struct port_name_xlator *x, if (types[i] & only) print_xlated_port_info (names[i], types[i], x, show, stream); - munmap (names, names_len * sizeof *names); - munmap (types, types_len * sizeof *types); + munmap ((caddr_t) names, names_len * sizeof *names); + munmap ((caddr_t) types, types_len * sizeof *types); return 0; } -- cgit v1.2.3