From 695d40bb7b46fabc18579954afdd79ae1cf4e6f5 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 6 Feb 2010 11:23:21 -0800 Subject: [PATCH] kernel - More conversions to size_t in struct malloc_type * Missed ks_inuse. --- sys/sys/malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index 2e3d6315dd..07dcd22d69 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -111,7 +111,7 @@ struct malloc_type { size_t ks_loosememuse; /* (inaccurate) aggregate memuse */ size_t ks_limit; /* most that are allowed to exist */ long ks_size; /* sizes of this thing that are allocated */ - long ks_inuse[SMP_MAXCPU]; /* # of allocs currently in use */ + size_t ks_inuse[SMP_MAXCPU]; /* # of allocs currently in use */ __int64_t ks_calls; /* total packets of this type ever allocated */ long ks_maxused; /* maximum number ever used */ __uint32_t ks_magic; /* if it's not magic, don't touch it */ -- 2.11.4.GIT