aboutsummaryrefslogtreecommitdiff
path: root/migration/page_cache.h
diff options
context:
space:
mode:
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 0cb94498a0..8733b4df6e 100644
--- a/migration/page_cache.h
+++ b/migration/page_cache.h
@@ -28,7 +28,7 @@ typedef struct PageCache PageCache;
* @page_size: cache page size
* @errp: set *errp if the check failed, with reason
*/
-PageCache *cache_init(int64_t cache_size, size_t page_size, Error **errp);
+PageCache *cache_init(uint64_t cache_size, size_t page_size, Error **errp);
/**
* cache_fini: free all cache resources
* @cache pointer to the PageCache struct