summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 10:17:41 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 10:17:41 +0000
commita52d75d8a0a8faf29aaf56fba3e1a6890d98e8f3 (patch)
tree43fcf002d8975a6a08c4ef53f0918c756448a64f
parent626c17083b568e578c71dfc584121005926f70a9 (diff)
2002-05-08 Roland McGrath <roland@frob.com>
* pager.c (pager_read_page, pager_write_page): int -> size_t
-rw-r--r--storeio/pager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/storeio/pager.c b/storeio/pager.c
index 904c4b69..0ad126c1 100644
--- a/storeio/pager.c
+++ b/storeio/pager.c
@@ -1,6 +1,6 @@
/* Paging interface for storeio devices
- Copyright (C) 1995, 96, 97, 99 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,99,2002 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -40,7 +40,7 @@ pager_read_page (struct user_pager_info *upi,
vm_offset_t page, vm_address_t *buf, int *writelock)
{
error_t err;
- int read = 0; /* bytes actually read */
+ size_t read = 0; /* bytes actually read */
int want = vm_page_size; /* bytes we want to read */
struct dev *dev = (struct dev *)upi;
struct store *store = dev->store;
@@ -79,7 +79,7 @@ pager_write_page (struct user_pager_info *upi,
else
{
error_t err;
- int written;
+ size_t written;
int want = vm_page_size;
if (page + want > store->size)