From 8562cbbc7d533c09cfc4dafb34c6475e9733ba00 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 26 Feb 2019 21:39:13 -0800 Subject: fixes #894 nng_pipe_notify could use nng_pipe_ev typedef instead of int This follow up fixes the test code for above. --- tests/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3-70-g09d2