mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
ceaaecb49f
commit
9ca3f96394
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue