]> mj.ucw.cz Git - libucw.git/commitdiff
Mempool: stats->chain_size[] should be u64, not uns.
authorPavel Charvat <pchar@ucw.cz>
Tue, 20 May 2014 09:10:29 +0000 (11:10 +0200)
committerPavel Charvat <pchar@ucw.cz>
Tue, 20 May 2014 09:10:29 +0000 (11:10 +0200)
ucw/mempool.h

index 9d0c97d18e0cd7510c58b7a6545f0a73b0c0b2b6..9427a8ac122e3e99f51bb101a8eba0ef9024c710 100644 (file)
@@ -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 */
 };
 
 /***