aboutsummaryrefslogtreecommitdiff
path: root/src/core/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/aio.h')
-rw-r--r--src/core/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/aio.h b/src/core/aio.h
index a1b06e1d..5884e253 100644
--- a/src/core/aio.h
+++ b/src/core/aio.h
@@ -17,7 +17,7 @@
#include "core/taskq.h"
#include "core/thread.h"
-typedef void (*nni_aio_cancel_fn)(nni_aio *, void *, int);
+typedef void (*nni_aio_cancel_fn)(nni_aio *, void *, nng_err);
// nni_aio_init initializes an aio object. The callback is called with
// the supplied argument when the operation is complete. If NULL is