summaryrefslogtreecommitdiff
path: root/device/ds_routines.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 22:01:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 22:02:36 +0200
commit6e85ad01411dbea60718c97b28887f644d937862 (patch)
tree9dec28da234971f5e206d0dcb6784d629b310dd0 /device/ds_routines.c
parentea2b5b8f72c56bde682593e783552eb13b7412ad (diff)
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.
Diffstat (limited to 'device/ds_routines.c')
-rw-r--r--device/ds_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 9ec5a6b..5b8fb3e 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -941,7 +941,7 @@ device_write_dealloc(ior)
kmem_io_map_deallocate(device_io_map,
trunc_page(ior->io_data),
- (vm_size_t) ior->io_alloc_size);
+ ior->io_alloc_size);
if (vm_map_copy_has_cont(io_copy)) {