diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-03-12 15:06:20 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-03-12 15:53:14 +0100 |
commit | 109169ca9d8835227cbfcf2c2da5434232e2c6ec (patch) | |
tree | 1f39c75efdc4055efa3858f0d6f180e9aa2b2b0f /mach-defpager/default_pager.c | |
parent | a77077efbd5658a39538557911fccca9da5a81ab (diff) |
mach-defpager: fix type of size arguments
* mach-defpager/default_pager.c (new_partition): Fix type of bsize.
* mach-defpager/file_io.h (page_read_file_direct): Fix type of size argument.
(page_write_file_direct): Likewise.
* mach-defpager/setup.c (page_read_file_direct): Likewise.
(page_write_file_direct): Likewise.
Diffstat (limited to 'mach-defpager/default_pager.c')
-rw-r--r-- | mach-defpager/default_pager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c index 4127126d..362697e0 100644 --- a/mach-defpager/default_pager.c +++ b/mach-defpager/default_pager.c @@ -253,7 +253,8 @@ new_partition (const char *name, struct file_direct *fdp, { /* Filesystem block size is smaller than page size, so we must do several reads to get the whole page. */ - vm_address_t baddr, bsize; + vm_address_t baddr; + vm_size_t bsize; rc = page_read_file_direct(part->file, rsize, LINUX_PAGE_SIZE-rsize, &baddr, |