From 10f8746a618f2ee5c7e3f82cac303138a2f45420 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 9 Jun 1995 22:11:00 +0000 Subject: (_diskfs_rdwr_internal): Cast __VM_PAGE_SIZE in comparisen. --- libdiskfs/rdwr-internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') 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; -- cgit v1.2.3