summaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.hpp b/src/command.hpp
index 35aed0f..49f5642 100644
--- a/src/command.hpp
+++ b/src/command.hpp
@@ -72,7 +72,7 @@ namespace zmq
// session that the connection have failed.
struct {
struct i_engine *engine;
- unsigned char peer_identity_size;
+ size_t peer_identity_size;
unsigned char *peer_identity;
} attach;
@@ -81,7 +81,7 @@ namespace zmq
struct {
class reader_t *in_pipe;
class writer_t *out_pipe;
- unsigned char peer_identity_size;
+ size_t peer_identity_size;
unsigned char *peer_identity;
} bind;