summaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-19 19:59:23 +0000
committerRoland McGrath <roland@gnu.org>1999-06-19 19:59:23 +0000
commit68631de9a3a95eeb85d097055f0c71fed7b625ca (patch)
tree13f07679d7bdf9e7cc79e18db880c2df07810cd6 /ext2fs/pager.c
parent9219433dcea6f6342d5dfb71adff807117b0890d (diff)
1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
* pager.c (free_page_buf): Fix type cast.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 9ff36205..3f557aeb 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1,6 +1,6 @@
/* Pager for ext2fs
- Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
@@ -117,7 +117,7 @@ free_page_buf (void *buf)
else
{
spin_unlock (&free_page_bufs_lock);
- vm_deallocate (mach_task_self (), (vm_address_t *)buf, vm_page_size);
+ vm_deallocate (mach_task_self (), (vm_address_t) buf, vm_page_size);
}
}