summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/zmq_recv.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/zmq_recv.txt b/doc/zmq_recv.txt
index 5a7ec1b..e050879 100644
--- a/doc/zmq_recv.txt
+++ b/doc/zmq_recv.txt
@@ -83,7 +83,7 @@ assert (rc == 0);
.Receiving a multi-part message
----
int64_t more;
-int64_t more_size = sizeof more;
+size_t more_size = sizeof more;
do {
/* Create an empty 0MQ message to hold the message part */
zmq_msg_t part;