summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPieter Hintjens <ph@imatix.com>2010-08-21 13:46:03 +0200
committerPieter Hintjens <ph@imatix.com>2010-08-21 13:46:03 +0200
commitc52d1f2d47ac93e391ff707b50245aa33d7e8323 (patch)
tree8ba9ebd7d55ffe49485f47d9b033046c0ab3ddf9 /doc
parent87612be91d4ff5252613196f061bd89d3bce25ec (diff)
Fixed example for multipart zmq_recv()
Diffstat (limited to 'doc')
-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;