Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch')
-rw-r--r--community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch b/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch
new file mode 100644
index 00000000..2d32720d
--- /dev/null
+++ b/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch
@@ -0,0 +1,15 @@
+diff --git a/src/rocksdb/util/murmurhash.cc b/src/rocksdb/util/murmurhash.cc
+index 334ed898ea..4d71d58908 100644
+--- a/src/rocksdb/util/murmurhash.cc
++++ b/src/rocksdb/util/murmurhash.cc
+@@ -113,8 +113,8 @@ unsigned int MurmurHash2 ( const void * key, int len, unsigned int seed )
+
+ switch(len)
+ {
+- case 3: h ^= data[2] << 16;
+- case 2: h ^= data[1] << 8;
++ case 3: h ^= data[2] << 16; // fallthrough
++ case 2: h ^= data[1] << 8; // fallthrough
+ case 1: h ^= data[0];
+ h *= m;
+ };