aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/survey0/respond.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/survey0/respond.c')
-rw-r--r--src/sp/protocol/survey0/respond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/protocol/survey0/respond.c b/src/sp/protocol/survey0/respond.c
index a7cdf132..ace2962a 100644
--- a/src/sp/protocol/survey0/respond.c
+++ b/src/sp/protocol/survey0/respond.c
@@ -117,7 +117,7 @@ resp0_ctx_init(void *carg, void *sarg)
}
static void
-resp0_ctx_cancel_send(nni_aio *aio, void *arg, int rv)
+resp0_ctx_cancel_send(nni_aio *aio, void *arg, nng_err rv)
{
resp0_ctx *ctx = arg;
resp0_sock *s = ctx->sock;
@@ -398,7 +398,7 @@ resp0_pipe_send_cb(void *arg)
}
static void
-resp0_cancel_recv(nni_aio *aio, void *arg, int rv)
+resp0_cancel_recv(nni_aio *aio, void *arg, nng_err rv)
{
resp0_ctx *ctx = arg;
resp0_sock *s = ctx->sock;