svn commit: r328390 - head/sys/kern
Li-Wen Hsu
lwhsu at FreeBSD.org
Thu Jan 25 06:37:15 UTC 2018
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
More information about the svn-src-all
mailing list