Change ks_calls from int64_t to uint64_t, since it cannot be negative.
PR: 32342 Submitted by: ryan beasley <ryanb@goddamnbastard.org> Reviewed by: jeff, Tim J Robbins
This commit is contained in:
parent
68bfd0d48f
commit
6128535816
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user