From 71b8182ec4e0aebb20a59280ef191b3d9cb1fcbd Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Tue, 20 May 2014 11:10:29 +0200 Subject: [PATCH] Mempool: stats->chain_size[] should be u64, not uns. --- ucw/mempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucw/mempool.h b/ucw/mempool.h index 9d0c97d1..9427a8ac 100644 --- a/ucw/mempool.h +++ b/ucw/mempool.h @@ -79,7 +79,7 @@ struct mempool_stats { /** Mempool statistics. See @mp_stats(). **/ u64 total_size; /* Real allocated size in bytes */ u64 used_size; /* Estimated size allocated from mempool to application */ uns chain_count[3]; /* Number of allocated chunks in small/big/unused chains */ - uns chain_size[3]; /* Size of allocated chunks in small/big/unused chains */ + u64 chain_size[3]; /* Size of allocated chunks in small/big/unused chains */ }; /*** -- 2.39.2