summaryrefslogtreecommitdiff
path: root/perf/cpp/remote_thr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cpp/remote_thr.cpp')
-rw-r--r--perf/cpp/remote_thr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/cpp/remote_thr.cpp b/perf/cpp/remote_thr.cpp
index 54536fd..06946f5 100644
--- a/perf/cpp/remote_thr.cpp
+++ b/perf/cpp/remote_thr.cpp
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
+#include <stddef.h>
int main (int argc, char *argv [])
{
@@ -32,7 +33,7 @@ int main (int argc, char *argv [])
}
const char *connect_to = argv [1];
int message_count = atoi (argv [2]);
- int message_size = atoi (argv [3]);
+ size_t message_size = (size_t) atoi (argv [3]);
zmq::context_t ctx (1, 1);