diff options
author | Juan Quintela <quintela@redhat.com> | 2017-10-06 18:17:41 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-10-23 18:03:23 +0200 |
commit | 9ca3f963949c88ac58f81de5e1e391bfcd7dbaa3 (patch) | |
tree | d6c08bbf30503d85153ad8fb7af06ec0bf64b3c1 /migration/page_cache.c | |
parent | ceaaecb49ff99b871aac64329c1a0708abc696a4 (diff) |
migration: Make cache size elements use the right types
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/page_cache.c')
-rw-r--r-- | migration/page_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/migration/page_cache.c b/migration/page_cache.c index 381e555ddb..6b2dd77cf0 100644 --- a/migration/page_cache.c +++ b/migration/page_cache.c @@ -39,12 +39,12 @@ struct CacheItem { struct PageCache { CacheItem *page_cache; - unsigned int page_size; - int64_t max_num_items; - int64_t num_items; + size_t page_size; + size_t max_num_items; + size_t num_items; }; -PageCache *cache_init(int64_t num_pages, unsigned int page_size) +PageCache *cache_init(size_t num_pages, size_t page_size) { int64_t i; |