Date: Thu, 25 Jan 2018 06:37:14 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328390 - head/sys/kern Message-ID: <201801250637.w0P6bEEK047525@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu (ports committer) Date: Thu Jan 25 06:37:14 2018 New Revision: 328390 URL: https://svnweb.freebsd.org/changeset/base/328390 Log: Fix build for architectures where size_t is not unsigned long Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D14045 Modified: head/sys/kern/kern_malloc.c Modified: head/sys/kern/kern_malloc.c ============================================================================== --- head/sys/kern/kern_malloc.c Thu Jan 25 05:48:42 2018 (r328389) +++ head/sys/kern/kern_malloc.c Thu Jan 25 06:37:14 2018 (r328390) @@ -453,7 +453,7 @@ contigfree(void *addr, unsigned long size, struct mall #ifdef MALLOC_DEBUG static int -malloc_dbg(caddr_t *vap, unsigned long *sizep, struct malloc_type *mtp, +malloc_dbg(caddr_t *vap, size_t *sizep, struct malloc_type *mtp, int flags) { #ifdef INVARIANTS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801250637.w0P6bEEK047525>