Permalink
Browse files

Add initialiser to handle 32 bit systems

  • Loading branch information...
1 parent 97fd74a commit ef54bae34bb70769bbea0ec0cedb2409b493c724 @ianbarber committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/C++/zmsg.hpp
View
@@ -109,7 +109,7 @@ class zmsg {
data[message.size()] = 0;
push_back((char *)data.c_str());
}
- int64_t more;
+ int64_t more = 0;
size_t more_size = sizeof(more);
socket.getsockopt(ZMQ_RCVMORE, &more, &more_size);
if (!more) {

0 comments on commit ef54bae

Please sign in to comment.