diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 19:58:34 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 19:58:34 +0000 |
commit | fe722d84b0bfcae285d51d520de58c30d608295c (patch) | |
tree | 249b44be0cd28419d660b21b235ad9251b3ac169 | |
parent | fad27b7a697bc0ae039a365588ed331506104e62 (diff) |
(pager_read_page):
Cast BUF into void ** for dev_read.
-rw-r--r-- | storeio/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storeio/pager.c b/storeio/pager.c index e723f602..3794403e 100644 --- a/storeio/pager.c +++ b/storeio/pager.c @@ -47,7 +47,7 @@ pager_read_page (struct user_pager_info *upi, /* Read a partial page if necessary to avoid reading off the end. */ want = store->size - page; - err = dev_read (dev, page, want, (char **)buf, &read); + err = dev_read (dev, page, want, (void **)buf, &read); if (!err && want < vm_page_size) /* Zero anything we didn't read. Allocation only happens in page-size |