From 864e3ad76205fc3f68ae3dc5f5fb56473d2cca3f Mon Sep 17 00:00:00 2001 From: trociny Date: Sat, 20 Apr 2013 15:37:33 +0000 Subject: Wrong cast. MFC after: 1 month --- usr.bin/gcore/elfcore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/gcore') diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index d6e702b..20e801a 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -634,8 +634,7 @@ static void * elf_note_procstat_groups(void *arg, size_t *sizep) { - return (procstat_sysctl(arg, KERN_PROC_GROUPS, - (int)sizeof(gid_t), sizep)); + return (procstat_sysctl(arg, KERN_PROC_GROUPS, sizeof(gid_t), sizep)); } static void * -- cgit v1.1