From 9ca3f963949c88ac58f81de5e1e391bfcd7dbaa3 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Fri, 6 Oct 2017 18:17:41 +0200 Subject: migration: Make cache size elements use the right types Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert --- migration/page_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration/page_cache.h') 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 -- cgit v1.2.3