diff options
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); |