summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8865029a..8c851ca3 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;
}
}