diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-30 15:47:39 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-30 15:47:39 +0200 |
commit | 314deb61851a0ddc37228d24e9f4eb106461370a (patch) | |
tree | 8039b447b2bc3a48937a2adf69a78aee4ffe2ece /perf/cpp/local_lat.cpp | |
parent | 6c36673949b2256158e8914119d218dce311c585 (diff) |
build system for perf/C and perf/C++
Diffstat (limited to 'perf/cpp/local_lat.cpp')
-rw-r--r-- | perf/cpp/local_lat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/cpp/local_lat.cpp b/perf/cpp/local_lat.cpp index 3a9afcb..9260f0a 100644 --- a/perf/cpp/local_lat.cpp +++ b/perf/cpp/local_lat.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 *bind_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); |