From cb7e65fd5004fd24a7c23137e849c2828d2de6c3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 20 Jan 2017 01:19:06 -0800 Subject: fixes #18 Sockets should be uint32_t's (handles) not pointers. --- tests/sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/sock.c') diff --git a/tests/sock.c b/tests/sock.c index 123354ac..9ceb99cb 100644 --- a/tests/sock.c +++ b/tests/sock.c @@ -20,7 +20,7 @@ Main({ Convey("We are able to open a PAIR socket", { int rv; - nng_socket *sock = NULL; + nng_socket sock = NULL; rv = nng_open(&sock, NNG_PROTO_PAIR); So(rv == 0); @@ -147,7 +147,7 @@ Main({ }) Convey("We can send and receive messages", { - nng_socket *sock2 = NULL; + nng_socket sock2 = NULL; int len = 1; nng_msg *msg; uint64_t second = 1000000; -- cgit v1.2.3-70-g09d2