From 0d13971c056ac39f5dddd0c4343795dcb6e929c1 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Fri, 2 May 2014 22:28:19 +0200 Subject: [PATCH] Fixed compile error in test_security_null --- tests/test_security_null.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_security_null.cpp b/tests/test_security_null.cpp index 61de9e17..827b54fe 100644 --- a/tests/test_security_null.cpp +++ b/tests/test_security_null.cpp @@ -95,9 +95,9 @@ int main (void) // Now define a ZAP domain for the server; this enables // authentication. We're using the wrong domain so this test // must fail. - void *server = zmq_socket (ctx, ZMQ_DEALER); + server = zmq_socket (ctx, ZMQ_DEALER); assert (server); - void *client = zmq_socket (ctx, ZMQ_DEALER); + client = zmq_socket (ctx, ZMQ_DEALER); assert (client); rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "WRONG", 5); assert (rc == 0);