summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_getsockopt.txt4
-rw-r--r--doc/zmq_setsockopt.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt
index 88a4071..e23eaac 100644
--- a/doc/zmq_getsockopt.txt
+++ b/doc/zmq_getsockopt.txt
@@ -73,7 +73,7 @@ type.
The default 'ZMQ_HWM' value of zero means "no limit".
[horizontal]
-Option value type:: uint64_t
+Option value type:: int
Option value unit:: messages
Default value:: 0
Applicable socket types:: all
@@ -348,7 +348,7 @@ EXAMPLE
.Retrieving the high water mark
----
/* Retrieve high water mark into hwm */
-int64_t hwm;
+int hwm;
size_t hwm_size = sizeof (hwm);
rc = zmq_getsockopt (socket, ZMQ_HWM, &hwm, &hwm_size);
assert (rc == 0);
diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt
index f486305..b16bab4 100644
--- a/doc/zmq_setsockopt.txt
+++ b/doc/zmq_setsockopt.txt
@@ -41,7 +41,7 @@ type.
The default 'ZMQ_HWM' value of zero means "no limit".
[horizontal]
-Option value type:: uint64_t
+Option value type:: int
Option value unit:: messages
Default value:: 0
Applicable socket types:: all