summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device/dev_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/dev_pager.c b/device/dev_pager.c
index b9796ca..7c3e088 100644
--- a/device/dev_pager.c
+++ b/device/dev_pager.c
@@ -416,7 +416,7 @@ boolean_t device_pager_data_request_done(io_req_t ior)
if (device_pager_debug)
printf("(device_pager)data_request_done: r: 0x%lx\n", ior->io_residual);
memset((&ior->io_data[ior->io_count - ior->io_residual]), 0,
- (unsigned) ior->io_residual);
+ (size_t) ior->io_residual);
}
} else {
size_read = ior->io_count - ior->io_residual;