summaryrefslogtreecommitdiff
path: root/device/io_req.h
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/io_req.h
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/io_req.h')
-rw-r--r--device/io_req.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/io_req.h b/device/io_req.h
index 5988f55c..162524d7 100644
--- a/device/io_req.h
+++ b/device/io_req.h
@@ -66,7 +66,7 @@ struct io_req {
#define io_data io_un.data
long io_count; /* amount requested */
- long io_alloc_size; /* amount allocated */
+ vm_size_t io_alloc_size; /* amount allocated */
long io_residual; /* amount NOT done */
io_return_t io_error; /* error code */
/* call when done - returns TRUE if IO really finished */