diff options
author | Philip Balister <philip@balister.org> | 2016-06-28 10:26:22 -0400 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2016-06-28 12:38:32 -0400 |
commit | 02e01d33084614dccebffed533dce1c05477902d (patch) | |
tree | f6e49717fb548926e1fe4cd880bd69a2f8e8bbb6 /gr-zeromq/lib/req_msg_source_impl.cc | |
parent | a99f8ac8cc9a15ab608081c10a7733fce125e276 (diff) |
gr-zmq: Fix build with gcc6.
Signed-off-by: Philip Balister <philip@balister.org>
Diffstat (limited to 'gr-zeromq/lib/req_msg_source_impl.cc')
-rw-r--r-- | gr-zeromq/lib/req_msg_source_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-zeromq/lib/req_msg_source_impl.cc b/gr-zeromq/lib/req_msg_source_impl.cc index e231a31962..7d9f0f38c9 100644 --- a/gr-zeromq/lib/req_msg_source_impl.cc +++ b/gr-zeromq/lib/req_msg_source_impl.cc @@ -89,7 +89,7 @@ namespace gr { while(!d_finished){ //std::cout << "readloop\n"; - zmq::pollitem_t itemsout[] = { { *d_socket, 0, ZMQ_POLLOUT, 0 } }; + zmq::pollitem_t itemsout[] = { { static_cast<void *>(*d_socket), 0, ZMQ_POLLOUT, 0 } }; zmq::poll(&itemsout[0], 1, d_timeout); // If we got a reply, process @@ -101,7 +101,7 @@ namespace gr { d_socket->send(request); } - zmq::pollitem_t items[] = { { *d_socket, 0, ZMQ_POLLIN, 0 } }; + zmq::pollitem_t items[] = { { static_cast<void *>(*d_socket), 0, ZMQ_POLLIN, 0 } }; zmq::poll (&items[0], 1, d_timeout); // If we got a reply, process |