summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/ext2fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 546bc658..35f4a05c 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -367,7 +367,9 @@ sync_global_ptr (void *bptr, int wait)
{
int boffs = trunc_block (bptr_offs (bptr));
global_block_modified (boffs_block (boffs));
- pager_sync_some (disk_pager->p, boffs_ptr (boffs), block_size, wait);
+ pager_sync_some (disk_pager->p,
+ (vm_address_t)boffs_ptr (boffs), block_size,
+ wait);
}
/* ---------------------------------------------------------------- */