aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pipe.c b/tests/pipe.c
index d3630289..71e9be67 100644
--- a/tests/pipe.c
+++ b/tests/pipe.c
@@ -59,7 +59,7 @@ expect(struct testcase *t, int *vp, int v)
}
void
-notify(nng_pipe p, int act, void *arg)
+notify(nng_pipe p, nng_pipe_ev act, void *arg)
{
struct testcase *t = arg;
@@ -97,7 +97,7 @@ notify(nng_pipe p, int act, void *arg)
}
void
-reject(nng_pipe p, int act, void *arg)
+reject(nng_pipe p, nng_pipe_ev act, void *arg)
{
struct testcase *t = arg;
notify(p, act, arg);