aboutsummaryrefslogtreecommitdiff
path: root/src/aio
diff options
context:
space:
mode:
Diffstat (limited to 'src/aio')
-rw-r--r--src/aio/lio_listio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio/lio_listio.c b/src/aio/lio_listio.c
index 8865029..8c851ca 100644
--- a/src/aio/lio_listio.c
+++ b/src/aio/lio_listio.c
@@ -30,7 +30,7 @@ static int lio_wait(struct lio_state *st)
}
return 0;
}
- if (aio_suspend(cbs, cnt, 0))
+ if (aio_suspend((void *)cbs, cnt, 0))
return -1;
}
}