summaryrefslogtreecommitdiff
path: root/src/xszmq.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-13 16:00:57 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-13 16:00:57 +0100
commitd6d396790754dc03bfbde4d957c31e2170151bfd (patch)
tree3919784bf39b2e4c6bfc90960386fda3e5d79483 /src/xszmq.cpp
parentb871611cc36eaaf740a5c8f476cf53fe40299eb3 (diff)
Type of XS_MAXMSGSIZE changed to uint64_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xszmq.cpp')
-rw-r--r--src/xszmq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xszmq.cpp b/src/xszmq.cpp
index d1fb20c..bac6985 100644
--- a/src/xszmq.cpp
+++ b/src/xszmq.cpp
@@ -377,7 +377,7 @@ int zmq_recv (void *s, zmq_msg_t *msg, int flags)
int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout)
{
- return xs_poll ((xs_pollitem_t*) items, nitems, timeout / 1000);
+ return xs_poll ((xs_pollitem_t*) items, nitems, (int) (timeout / 1000));
}
int zmq_device (int device, void *frontend, void *backend)