ceph/0001-src-rocksdb-util-murmurhash.patch
Kaleb S. KEITHLEY 9b4d3225ea New release (1:12.2.5-2)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-01 06:35:53 -04:00

14 lines
474 B
Diff

--- ceph-12.1.1.orig/src/rocksdb/util/murmurhash.cc 2017-04-27 01:13:46.000000000 +0100
+++ ceph-12.1.1.orig/src/rocksdb/util/murmurhash.cc 2017-07-25 11:37:28.910266684 +0100
@@ -113,8 +113,8 @@ unsigned int MurmurHash2 ( const void *
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;
};