summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-24 15:43:03 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-24 15:43:03 +0100
commit507718ee1a56e376c06389c513de3868297fec35 (patch)
tree1b007ee25899ed3c6971ae2001bb252f128b2d55 /tests
parentbd9d7715ebe864d1aa85700d1b55b4f37568a1a4 (diff)
ZMQ_HWM type changed to int
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_hwm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_hwm.cpp b/tests/test_hwm.cpp
index d579f9d..a96193d 100644
--- a/tests/test_hwm.cpp
+++ b/tests/test_hwm.cpp
@@ -21,7 +21,6 @@
#include <assert.h>
-#include "../src/stdint.hpp"
#include "testutil.hpp"
int main (int argc, char *argv [])
@@ -33,7 +32,7 @@ int main (int argc, char *argv [])
// buffer space should be 4 messages.
void *sb = zmq_socket (ctx, ZMQ_PULL);
assert (sb);
- uint64_t hwm = 2;
+ int hwm = 2;
int rc = zmq_setsockopt (sb, ZMQ_HWM, &hwm, sizeof (hwm));
assert (rc == 0);
rc = zmq_bind (sb, "inproc://a");