Fix build for architectures where size_t is not unsigned long

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D14045
This commit is contained in:
Li-Wen Hsu 2018-01-25 06:37:14 +00:00
parent 1b8be09a20
commit 5a70796a71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328390

View File

@ -453,7 +453,7 @@ contigfree(void *addr, unsigned long size, struct malloc_type *type)
#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