From 6e85ad01411dbea60718c97b28887f644d937862 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 20 Oct 2009 22:01:11 +0200 Subject: Fix warnings * devices/io_reqs.h (io_req): Set type of io_alloc_size field to vm_size_t. * device/ds_routines.c (device_write_dealloc): Remove cast of io_alloc_size field. * device/subrs.c (brelse): Likewise. --- device/subrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/subrs.c') diff --git a/device/subrs.c b/device/subrs.c index c2fe7ec2..a82bae38 100644 --- a/device/subrs.c +++ b/device/subrs.c @@ -140,6 +140,6 @@ void brelse(bp) (void) vm_deallocate(kernel_map, (vm_offset_t) ior->io_data, - (vm_size_t) ior->io_alloc_size); + ior->io_alloc_size); io_req_free(ior); } -- cgit v1.2.3