summaryrefslogtreecommitdiff
path: root/tpool/tpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'tpool/tpool.h')
-rw-r--r--tpool/tpool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tpool/tpool.h b/tpool/tpool.h
index ad63e25bdd7..8659e8adc74 100644
--- a/tpool/tpool.h
+++ b/tpool/tpool.h
@@ -110,7 +110,6 @@ enum class aio_opcode
AIO_PWRITE
};
const int MAX_AIO_USERDATA_LEN= 40;
-struct aiocb;
/** IO control block, includes parameters for the IO, and the callback*/
@@ -129,7 +128,7 @@ struct aiocb
callback_func m_callback;
task_group* m_group;
/* Returned length and error code*/
- int m_ret_len;
+ size_t m_ret_len;
int m_err;
void *m_internal;
task m_internal_task;