From c6347601814c7cf0ce9a058cc53dc9d7c24cb3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sun, 22 May 2022 20:10:27 -0700 Subject: [PATCH] Fixed warnings. --- tests/hash_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hash_test.cpp b/tests/hash_test.cpp index 03aea25..0aa8324 100644 --- a/tests/hash_test.cpp +++ b/tests/hash_test.cpp @@ -117,8 +117,8 @@ uint32_t MurmurHash2A ( const void * key, int len, uint32_t seed ) switch(len) { - case 3: t ^= data[2] << 16; - case 2: t ^= data[1] << 8; + case 3: t ^= data[2] << 16; BX_FALLTHROUGH; + case 2: t ^= data[1] << 8; BX_FALLTHROUGH; case 1: t ^= data[0]; };