aboutsummaryrefslogtreecommitdiff
path: root/libraries/murmur2
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-07-07 15:19:00 +0200
committerGitHub <noreply@github.com>2023-07-07 15:19:00 +0200
commite225a721807b00297a5733e9d60fe2b5603de77c (patch)
tree91d9e3ba54a32cb5724f0297dd842b990f065db7 /libraries/murmur2
parent2cb22ad280ec0b540ec6e96759d478c60562bc9a (diff)
parent13d67c6524a29daea51242d17ba0c6a2b8593747 (diff)
downloadPrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.tar.gz
PrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.tar.bz2
PrismLauncher-e225a721807b00297a5733e9d60fe2b5603de77c.zip
Merge pull request #1128 from pandaninjas/fix-implicit-fallthrough
Diffstat (limited to 'libraries/murmur2')
-rw-r--r--libraries/murmur2/src/MurmurHash2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/murmur2/src/MurmurHash2.cpp b/libraries/murmur2/src/MurmurHash2.cpp
index c13608f0..e7312795 100644
--- a/libraries/murmur2/src/MurmurHash2.cpp
+++ b/libraries/murmur2/src/MurmurHash2.cpp
@@ -89,8 +89,10 @@ void FourBytes_MurmurHash2(const unsigned char* data, IncrementalHashInfo& prev)
switch (prev.len) {
case 3:
prev.h ^= data[2] << 16;
+ /* fall through */
case 2:
prev.h ^= data[1] << 8;
+ /* fall through */
case 1:
prev.h ^= data[0];
prev.h *= m;