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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"