From: Pavel Charvat Date: Tue, 20 May 2014 09:10:29 +0000 (+0200) Subject: Mempool: stats->chain_size[] should be u64, not uns. X-Git-Tag: v6.0~34 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=71b8182ec4e0aebb20a59280ef191b3d9cb1fcbd;p=libucw.git Mempool: stats->chain_size[] should be u64, not uns. --- 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 */ }; /***