aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-04-30 13:52:21 -0400
committermydesktop <dev.mc2@gmail.com>2014-04-30 13:52:21 -0400
commit67df296650a72b8769fac58787148080ec771805 (patch)
tree121b2de24f67b7591b9e8ebda3bc9aa0c84ffbff /tests/net_load_tests
parentprompt to delete build directory on 'make clean' (diff)
downloadmonero-67df296650a72b8769fac58787148080ec771805.tar.xz
various fixes to allow mac osx compilation
Diffstat (limited to 'tests/net_load_tests')
-rw-r--r--tests/net_load_tests/net_load_tests.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/net_load_tests/net_load_tests.h b/tests/net_load_tests/net_load_tests.h
index 20da11bf3..3d9569835 100644
--- a/tests/net_load_tests/net_load_tests.h
+++ b/tests/net_load_tests/net_load_tests.h
@@ -212,8 +212,8 @@ namespace net_load_tests
struct request
{
- size_t open_request_target;
- size_t max_opened_conn_count;
+ uint64_t open_request_target;
+ uint64_t max_opened_conn_count;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(open_request_target)
@@ -240,9 +240,9 @@ namespace net_load_tests
struct response
{
- size_t opened_connections_count;
- size_t new_connection_counter;
- size_t close_connection_counter;
+ uint64_t opened_connections_count;
+ uint64_t new_connection_counter;
+ uint64_t close_connection_counter;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(opened_connections_count)
@@ -295,7 +295,7 @@ namespace net_load_tests
struct request
{
- size_t request_size;
+ uint64_t request_size;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(request_size)
@@ -310,7 +310,7 @@ namespace net_load_tests
struct request
{
std::string data;
- size_t response_size;
+ uint64_t response_size;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(data)