aboutsummaryrefslogtreecommitdiff
path: root/libraries/murmur2/src
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-09 19:38:17 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-09 19:38:17 +0300
commitd7f4e40f85d1e253fe62e1c9e1cfb1842ffb0c86 (patch)
tree9348d96110913ec2916e0854d5e495e33e1c9352 /libraries/murmur2/src
parent908ac813e0f96126a643851e99379956faa08cda (diff)
parent67d473aab773e7f94c394ebdde05581dc8f805de (diff)
downloadPrismLauncher-d7f4e40f85d1e253fe62e1c9e1cfb1842ffb0c86.tar.gz
PrismLauncher-d7f4e40f85d1e253fe62e1c9e1cfb1842ffb0c86.tar.bz2
PrismLauncher-d7f4e40f85d1e253fe62e1c9e1cfb1842ffb0c86.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse
Diffstat (limited to 'libraries/murmur2/src')
-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;