summaryrefslogtreecommitdiffstats
path: root/104.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-26 07:04:49 +0100
committerRemi Collet <remi@remirepo.net>2020-12-26 07:04:49 +0100
commitf8dd62650c843d4757a29b13433c0f5635910198 (patch)
treec6f26c733b66664d58a5254fbe80bed08077b051 /104.patch
parentc503863ef5cc1e34c181615cd0eb7518a18a9ea9 (diff)
add patches from upstream and from
https://github.com/m6w6/libmemcached/pull/101 fix so version https://github.com/m6w6/libmemcached/pull/102 fix for old sphinx https://github.com/m6w6/libmemcached/pull/104 fix 32-bit enable test suite
Diffstat (limited to '104.patch')
-rw-r--r--104.patch21
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);
+ }