From 14b03373f1e507ec2600b0d1ad3324e5a4a222e0 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Thu, 7 Jul 2011 18:03:26 -0700 Subject: [PATCH] Merge in fix for Ubuntu --- libtest/memcached.cc | 2 +- libtest/server.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libtest/memcached.cc b/libtest/memcached.cc index 2b49c608..61c3209f 100644 --- a/libtest/memcached.cc +++ b/libtest/memcached.cc @@ -124,7 +124,7 @@ bool server_startup(server_startup_st *construct) std::string server_config_string; uint32_t port_base= 0; - for (uint32_t x= 0; x < (construct->count -1); x++) + for (uint32_t x= 0; x < uint32_t(construct->count -1); x++) { server_st *server= NULL; diff --git a/libtest/server.h b/libtest/server.h index f3bda21b..00f29cd8 100644 --- a/libtest/server.h +++ b/libtest/server.h @@ -124,7 +124,7 @@ std::ostream& operator<<(std::ostream& output, const server_st &arg); struct server_startup_st { - uint8_t count; + uint32_t count; uint8_t udp; std::string server_list; std::vector servers; -- 2.30.2