aboutsummaryrefslogtreecommitdiff
path: root/migration/page_cache.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-10-06 18:17:41 +0200
committerJuan Quintela <quintela@redhat.com>2017-10-23 18:03:23 +0200
commit9ca3f963949c88ac58f81de5e1e391bfcd7dbaa3 (patch)
treed6c08bbf30503d85153ad8fb7af06ec0bf64b3c1 /migration/page_cache.h
parentceaaecb49ff99b871aac64329c1a0708abc696a4 (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.h')
-rw-r--r--migration/page_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/page_cache.h b/migration/page_cache.h
index 4fadd0c501..931868b857 100644
--- a/migration/page_cache.h
+++ b/migration/page_cache.h
@@ -28,7 +28,7 @@ typedef struct PageCache PageCache;
* @num_pages: cache maximal number of cached pages
* @page_size: cache page size
*/
-PageCache *cache_init(int64_t num_pages, unsigned int page_size);
+PageCache *cache_init(size_t num_pages, size_t page_size);
/**
* cache_fini: free all cache resources