From 73d75acaa0145be81a7aca82e61631883edaf8f5 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Mon, 8 Apr 2002 10:37:27 +0000 Subject: Change ks_calls from int64_t to uint64_t, since it cannot be negative. PR: 32342 Submitted by: ryan beasley Reviewed by: jeff, Tim J Robbins --- 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 76c57254ae5b..23d21336f881 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -59,7 +59,7 @@ struct malloc_type { long ks_limit; /* most that are allowed to exist */ long ks_size; /* sizes of this thing that are allocated */ long ks_inuse; /* # of packets of this type currently in use */ - int64_t ks_calls; /* total packets of this type ever allocated */ + uint64_t ks_calls; /* total packets of this type ever allocated */ long ks_maxused; /* maximum number ever used */ u_long ks_magic; /* if it's not magic, don't touch it */ const char *ks_shortdesc; /* short description */ -- cgit v1.3