summaryrefslogtreecommitdiff
path: root/perf/cpp/remote_lat.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-30 15:47:39 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-30 15:47:39 +0200
commit314deb61851a0ddc37228d24e9f4eb106461370a (patch)
tree8039b447b2bc3a48937a2adf69a78aee4ffe2ece /perf/cpp/remote_lat.cpp
parent6c36673949b2256158e8914119d218dce311c585 (diff)
build system for perf/C and perf/C++
Diffstat (limited to 'perf/cpp/remote_lat.cpp')
-rw-r--r--perf/cpp/remote_lat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/cpp/remote_lat.cpp b/perf/cpp/remote_lat.cpp
index 9ac758b..3472fd8 100644
--- a/perf/cpp/remote_lat.cpp
+++ b/perf/cpp/remote_lat.cpp
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#include <stddef.h>
#include <sys/time.h>
int main (int argc, char *argv [])
@@ -32,7 +33,7 @@ int main (int argc, char *argv [])
}
const char *connect_to = argv [1];
int roundtrip_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);