summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device/cirbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/cirbuf.c b/device/cirbuf.c
index 39b1da2..dfb06df 100644
--- a/device/cirbuf.c
+++ b/device/cirbuf.c
@@ -292,7 +292,7 @@ cb_alloc(
void
cb_free(struct cirbuf *cb)
{
- int size;
+ vm_size_t size;
size = cb->c_end - cb->c_start;
kfree((vm_offset_t)cb->c_start, size);