diff options
Diffstat (limited to '104.patch')
-rw-r--r-- | 104.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/104.patch b/104.patch new file mode 100644 index 0000000..5b2071a --- /dev/null +++ b/104.patch @@ -0,0 +1,21 @@ +From 4ef24d8849ffcce9fdc78ef9907aa744a69687dc Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Wed, 23 Dec 2020 16:32:00 +0100 +Subject: [PATCH] fix for 32-bit + +--- + test/lib/MemcachedCluster.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/lib/MemcachedCluster.cpp b/test/lib/MemcachedCluster.cpp +index a443360b..4b1aa2c5 100644 +--- a/test/lib/MemcachedCluster.cpp ++++ b/test/lib/MemcachedCluster.cpp +@@ -143,6 +143,6 @@ void MemcachedCluster::enableReplication() { + + void MemcachedCluster::killOneServer() const { + const auto &servers = cluster.getServers(); +- const auto &victim = servers[random_num(0UL, servers.size() - 1)]; ++ const auto &victim = servers[random_num((size_t)0, servers.size() - 1)]; + ::kill(victim.getPid(), SIGKILL); + } |