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:
parent
1b8be09a20
commit
5a70796a71
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user