From 314deb61851a0ddc37228d24e9f4eb106461370a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 30 Aug 2009 15:47:39 +0200 Subject: build system for perf/C and perf/C++ --- perf/cpp/remote_lat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perf/cpp/remote_lat.cpp') 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 #include #include +#include #include 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); -- cgit v1.2.3