diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-09 22:11:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-09 22:11:00 +0000 |
commit | 10f8746a618f2ee5c7e3f82cac303138a2f45420 (patch) | |
tree | c7ad7d174d02ff963bb514c1a608c2f14edf808f /libdiskfs/rdwr-internal.c | |
parent | 272ad540b38ac7753f262a3709d5a25b842b8869 (diff) |
(_diskfs_rdwr_internal): Cast __VM_PAGE_SIZE in comparisen.
Diffstat (limited to 'libdiskfs/rdwr-internal.c')
-rw-r--r-- | libdiskfs/rdwr-internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/rdwr-internal.c b/libdiskfs/rdwr-internal.c index 25d1dc59..900467cb 100644 --- a/libdiskfs/rdwr-internal.c +++ b/libdiskfs/rdwr-internal.c @@ -66,7 +66,7 @@ _diskfs_rdwr_internal (struct node *np, diskfs_register_memory_fault_area (diskfs_get_filemap_pager_struct (np), winoff, window, 8 * __vm_page_size); - if ((offset - winoff) + amt > 8 * __vm_page_size) + if ((offset - winoff) + amt > 8 * (off_t) __vm_page_size) cc = 8 * __vm_page_size - (offset - winoff); else cc = amt; |