summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2013-04-20 15:37:33 +0000
committertrociny <trociny@FreeBSD.org>2013-04-20 15:37:33 +0000
commit864e3ad76205fc3f68ae3dc5f5fb56473d2cca3f (patch)
treec9fca6210c3c78b1f47e279ad3ff249a30de253c /usr.bin/gcore
parent7b4c44c92865858fbb16d131ebf521c36a681137 (diff)
downloadFreeBSD-src-864e3ad76205fc3f68ae3dc5f5fb56473d2cca3f.zip
FreeBSD-src-864e3ad76205fc3f68ae3dc5f5fb56473d2cca3f.tar.gz
Wrong cast.
MFC after: 1 month
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/elfcore.c3
1 files changed, 1 insertions, 2 deletions
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 *
OpenPOWER on IntegriCloud